Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6883/src/mal

Modified Files:
        mal.mx 
Log Message:
propagated changes of Monday Jun 04 2007 - Wednesday Jun 06 2007
from the MonetDB_5-0 branch to the development trunk



Index: mal.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal.mx,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- mal.mx      1 Jun 2007 09:48:20 -0000       1.126
+++ mal.mx      6 Jun 2007 12:01:51 -0000       1.127
@@ -375,9 +375,8 @@
 memory leakage problems later on.
 @c
 void mal_exit(void){
-       int t = 0, reruns=0;
+       int reruns=0;
        int freeclient=0, finishing=0, claimed=0, awaiting=0;
-       str err;
        Client cntxt = mal_clients;
 
 @-
@@ -434,6 +433,12 @@
                (void) stream_destroy(cntxt->fdout);
        }
 #endif
+
+#ifndef NDEBUG
+{
+       int t = 0;
+       str err;
+
        /* deregister everything that was registered, ignore errors */
        if ((err = SABAOTHwildRetreat(&t)) != MAL_SUCCEED) {
                fprintf(stderr, "!%s", err);
@@ -444,7 +449,8 @@
                fprintf(stderr, "!%s", err);
                GDKfree(err);
        }
-
+}
+#endif
 /*     GDKexit(0);  */
        MT_global_exit(0);
 }


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to