Changeset: 8079cc5662ac for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/8079cc5662ac
Modified Files:
geom/monetdb5/geom_atoms.c
Branch: resource_management
Log Message:
use explicitly passed allocator
diffs (12 lines):
diff --git a/geom/monetdb5/geom_atoms.c b/geom/monetdb5/geom_atoms.c
--- a/geom/monetdb5/geom_atoms.c
+++ b/geom/monetdb5/geom_atoms.c
@@ -52,8 +52,6 @@ wkbTOSTR(allocator *ma, char **geomWKT,
if (*len < dstStrLen + 1 || *geomWKT == NULL) {
*len = dstStrLen + 1;
////GDKfree(*geomWKT);
- allocator *ma = MT_thread_getallocator();
- assert(ma);
if ((*geomWKT = ma_alloc(ma, *len)) == NULL) {
GEOSFree_r(geoshandle, wkt);
return -1;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]