fix compile error
This commit is contained in:
parent
69a40355ed
commit
c7f22d23df
|
@ -4825,7 +4825,7 @@ int32_t dbChkpGetDelta(SDbChkp* p, int64_t chkpId, SArray* list) {
|
||||||
return terrno;
|
return terrno;
|
||||||
}
|
}
|
||||||
|
|
||||||
tstrncpy(fname, name, strlen(name));
|
tstrncpy(fname, name, strlen(name) + 1);
|
||||||
if (taosArrayPush(p->pAdd, &fname) == NULL) {
|
if (taosArrayPush(p->pAdd, &fname) == NULL) {
|
||||||
taosMemoryFree(fname);
|
taosMemoryFree(fname);
|
||||||
TAOS_UNUSED(taosThreadRwlockUnlock(&p->rwLock));
|
TAOS_UNUSED(taosThreadRwlockUnlock(&p->rwLock));
|
||||||
|
|
Loading…
Reference in New Issue