mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-12-20 00:21:45 +00:00
解决cJSON内存泄露的问题
Signed-off-by: y500286920 <yangliu158@huawei.com>
This commit is contained in:
parent
c53c135739
commit
ed4297bd1b
@ -100,5 +100,6 @@ int32_t TransAuthChannelErrorPack(int32_t errcode, const char *errMsg, char *cJs
|
||||
return SOFTBUS_MEM_ERR;
|
||||
}
|
||||
cJSON_Delete(obj);
|
||||
cJSON_free(data);
|
||||
return SOFTBUS_OK;
|
||||
}
|
Loading…
Reference in New Issue
Block a user