Changeset: cfb0749454ee for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=cfb0749454ee
Modified Files:
        geom/monetdb5/geom.c
Branch: sfcgal
Log Message:

Make sure you free the structure even if you are not using OpenMP.


diffs (21 lines):

diff --git a/geom/monetdb5/geom.c b/geom/monetdb5/geom.c
--- a/geom/monetdb5/geom.c
+++ b/geom/monetdb5/geom.c
@@ -9350,6 +9350,7 @@ WKBWKBtoBITsubjoin_intern_light(bat *lre
     t = 1000 * (stop.tv_sec - start.tv_sec) + (stop.tv_usec - start.tv_usec) / 
1000;
     fprintf(stdout, "%s second BATloop ql %d %llu ms\n", name, ql, t);
 #endif
+    GDKfree(lGeometries);
 
     if (msg != MAL_SUCCEED) {
         BBPunfix(xl->batCacheid);
@@ -10537,9 +10538,7 @@ DWithinXYZsubjoin_intern(bat *lres, bat 
     fprintf(stdout, "%s second BATloop ql %d %llu ms\n", name, ql, t);
 #endif
 
-#ifdef OPENMP                
     GDKfree(lGeometries);
-#endif
 
     if (outs)
         GDKfree(outs);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to