fixed conv clear bug caused by rehash

This commit is contained in:
wangyu-
2017-10-08 01:50:48 -05:00
parent a3d3cf9577
commit fb3edca8e4
11 changed files with 203 additions and 43 deletions

View File

@@ -62,7 +62,7 @@ int delay_manager_t::add(my_time_t delay,const dest_t &dest,char *data,int len)
}
delay_data_t tmp=delay_data;
tmp.data=(char *)malloc(delay_data.len);
tmp.data=(char *)malloc(delay_data.len+100);
memcpy(tmp.data,delay_data.data,delay_data.len);