fix: memory leak of geos
This commit is contained in:
parent
3c7ec707b2
commit
a4e6444646
|
@ -84,4 +84,4 @@ _exit:
|
||||||
|
|
||||||
const char *getGeosErrMsg(int32_t code) {
|
const char *getGeosErrMsg(int32_t code) {
|
||||||
return (tlGeosCtx && tlGeosCtx->errMsg[0] != 0) ? tlGeosCtx->errMsg : (code ? tstrerror(code) : "");
|
return (tlGeosCtx && tlGeosCtx->errMsg[0] != 0) ? tlGeosCtx->errMsg : (code ? tstrerror(code) : "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue