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