Changeset: e5d1f8d5b5b2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e5d1f8d5b5b2
Modified Files:
        monetdb5/optimizer/opt_garbageCollector.c
Branch: default
Log Message:

Compilation fix


diffs (13 lines):

diff --git a/monetdb5/optimizer/opt_garbageCollector.c 
b/monetdb5/optimizer/opt_garbageCollector.c
--- a/monetdb5/optimizer/opt_garbageCollector.c
+++ b/monetdb5/optimizer/opt_garbageCollector.c
@@ -87,7 +87,9 @@ OPTgarbageCollectorImplementation(Client
 
        /* A good MAL plan should end with an END instruction */
        if( p && p->token != ENDsymbol){
+#ifndef NDEBUG
                GDKfree(used);
+#endif
                throw(MAL, "optimizer.garbagecollector", SQLSTATE(42000) 
"Incorrect MAL plan encountered");
        }
 #ifndef NDEBUG
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to