[td-255] fix a typo.
This commit is contained in:
parent
267e6e0ba6
commit
f10ef79e5e
|
@ -2085,6 +2085,7 @@ int32_t tscAllocPayloadFast(SSqlCmd *pCmd, size_t size) {
|
|||
assert(pCmd->allocSize == 0);
|
||||
|
||||
pCmd->payload = malloc(size);
|
||||
pCmd->allocSize = size;
|
||||
} else if (pCmd->allocSize < size) {
|
||||
char* tmp = realloc(pCmd->payload, size);
|
||||
if (tmp == NULL) {
|
||||
|
|
Loading…
Reference in New Issue