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

Modified Files:
      Tag: SQL_2-20
        sql_env.mx 
Log Message:
fixed leak of list 


Index: sql_env.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_env.mx,v
retrieving revision 1.65
retrieving revision 1.65.2.1
diff -u -d -r1.65 -r1.65.2.1
--- sql_env.mx  21 Aug 2007 22:24:36 -0000      1.65
+++ sql_env.mx  29 Oct 2007 08:09:13 -0000      1.65.2.1
@@ -151,6 +151,7 @@
        /* add function */
        l = list_create((fdestroy) &arg_destroy);
        mvc_create_func(m, s, "env", l, &tpe, FALSE, FALSE, "sql", 
"sql_environment", 1);
+       list_destroy(l);
 
        t = mvc_create_generated(m, s, "#var", NULL, 1);
        mvc_create_column_(m, t, "name", "varchar", 1024);
@@ -162,6 +163,7 @@
        /* add function */
        l = list_create((fdestroy) &arg_destroy);
        mvc_create_func(m, s, "var", l, &tpe, FALSE, FALSE, "sql", 
"sql_variables", 1);
+       list_destroy(l);
        return 0;
 }
 


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