This commit is contained in:
Haojun Liao 2020-11-13 14:01:36 +08:00
parent 29545fa560
commit e2125102c8
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ SArray *tVariantListAppend(SArray *pList, tVariant *pVar, uint8_t sortOrder) {
* *
* Otherwise, the original pointer may be lost, which causes memory leak. * Otherwise, the original pointer may be lost, which causes memory leak.
*/ */
tVariantListItem item = {0}; tVariantListItem item;
item.pVar = *pVar; item.pVar = *pVar;
item.sortOrder = sortOrder; item.sortOrder = sortOrder;