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

Modified Files:
      Tag: MonetDB_5-2
        batstr.mx 
Log Message:
The low level routines in atoms/str produce new string copies.
They were not garbage collected after being inserted.


Index: batstr.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/kernel/batstr.mx,v
retrieving revision 1.52
retrieving revision 1.52.6.1
diff -u -d -r1.52 -r1.52.6.1
--- batstr.mx   9 Feb 2007 23:08:05 -0000       1.52
+++ batstr.mx   24 Nov 2007 10:56:45 -0000      1.52.6.1
@@ -277,6 +277,7 @@
                        y = (@4)@4_nil;
                else @2(yp,x);
                bunfastins(bn, h, *yp);
+               GDKfree(*yp);
        }
        finalizeResult(ret,bn,b);
        return MAL_SUCCEED;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to