Update of /cvsroot/monetdb/MonetDB5/src/modules/kernel
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30042

Modified Files:
        bat5.mx 
Log Message:
Avoid freeing static memory.


Index: bat5.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/kernel/bat5.mx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- bat5.mx     17 Apr 2007 13:43:36 -0000      1.15
+++ bat5.mx     25 May 2007 09:07:30 -0000      1.16
@@ -2785,7 +2785,7 @@
                BBPreleaseref(b->batCacheid);
                throw(MAL, "bat.setColumn", "column name missing");
        }
-       BATroles(b, b->hident, *tname);
+       BATroles(b, GDKstrdup(b->hident), *tname);
        BBPreleaseref(b->batCacheid);
        *r =0;
        return MAL_SUCCEED;


-------------------------------------------------------------------------
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