fix: memory leak of geos

This commit is contained in:
kailixu 2024-08-28 19:57:49 +08:00
parent b8dcb50c86
commit 203c04ca2d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }