fix: memory leak of geos
This commit is contained in:
parent
b8dcb50c86
commit
203c04ca2d
|
@ -93,7 +93,7 @@ int32_t getThreadLocalGeosCtx(SGeosContext **ppCtx) {
|
||||||
_exit:
|
_exit:
|
||||||
if (code != 0) {
|
if (code != 0) {
|
||||||
*ppCtx = NULL;
|
*ppCtx = NULL;
|
||||||
uError("failed to get geos context at lino:%d since %s", lino, tstrerror(code));
|
uError("failed to get geos context at line:%d since %s", lino, tstrerror(code));
|
||||||
}
|
}
|
||||||
TAOS_RETURN(code);
|
TAOS_RETURN(code);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue