Mandy.yan

Results 7 comments of Mandy.yan

i just use virtualbox running ubuntu and local gcc, function free work well

another problem: ![HQRPEM 2 `MY7HU{C)0MEIT](https://user-images.githubusercontent.com/17793782/94008296-5d18f700-fdd5-11ea-9d70-b372e7febc60.png) i just wonder why this happen? (in array i have two items, but it can only print one)

> > In my code, i use cjson like this : > > cJSON *monitor = cJSON_Parse(payload); > > cJSON *p = monitor; > > saveDevicedZoneInfoProfile(p); //in this function i...

> > another problem: > > ![HQRPEM 2 `MY7HU{C)0MEIT](https://user-images.githubusercontent.com/17793782/94008296-5d18f700-fdd5-11ea-9d70-b372e7febc60.png) > > i just wonder why this happen? (in array i have two items, but it can only print one) >...

> duplicate wa~, so thank you, the two problems make me crazy, and i cann`t found any information about how to solve my problem, So, if somewhere have these infomation,...

> The problem lies in this line: `cJSON_AddItemToObject(obj, "zoneList", tmp)`, when you delete the obj, the `tmp` was been deleted too, but delete `monitor` will cause delete `tmp` again. >...

我在纸上研读来研读去,都没看你把这个按键句柄移出的逻辑,请问哪句话是把句柄给移出了链表? ------------------ 原始邮件 ------------------ 发件人: sj13757790563