[TD-225]
This commit is contained in:
parent
0f63a29b58
commit
067ee44bdb
|
@ -199,7 +199,8 @@ void taosArrayDestroyEx(SArray* pArray, void (*fp)(void*)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fp == NULL) {
|
if (fp == NULL) {
|
||||||
return taosArrayDestroy(pArray);
|
taosArrayDestroy(pArray);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for(int32_t i = 0; i < pArray->size; ++i) {
|
for(int32_t i = 0; i < pArray->size; ++i) {
|
||||||
|
|
Loading…
Reference in New Issue