This commit is contained in:
Haojun Liao 2020-11-13 11:48:53 +08:00
parent 0f63a29b58
commit 067ee44bdb
1 changed files with 2 additions and 1 deletions

View File

@ -199,7 +199,8 @@ void taosArrayDestroyEx(SArray* pArray, void (*fp)(void*)) {
}
if (fp == NULL) {
return taosArrayDestroy(pArray);
taosArrayDestroy(pArray);
return;
}
for(int32_t i = 0; i < pArray->size; ++i) {