Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv545/src/server

Modified Files:
      Tag: SQL_2-20
        sql_mvc.mx 
Log Message:
fix 2 memory leaks.
1) leak of arguments in SQLexecutePrepared
2) also sql/mvc variable stack was never freed


Index: sql_mvc.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_mvc.mx,v
retrieving revision 1.189.2.2
retrieving revision 1.189.2.3
diff -u -d -r1.189.2.2 -r1.189.2.3
--- sql_mvc.mx  14 Oct 2007 08:24:03 -0000      1.189.2.2
+++ sql_mvc.mx  26 Oct 2007 20:36:13 -0000      1.189.2.3
@@ -671,6 +671,7 @@
        sql_session_destroy(m->session);
 
        stack_pop_until(m, 0);
+       _DELETE(m->vars);
 
        if (m->scanner.log) /* close and destroy stream */
                close_stream(m->scanner.log);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to