Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8904/src/backends/monet5

Modified Files:
        sql_readline.mx 
Log Message:
propagated changes of Wednesday Dec 23 2009 - Saturday Dec 26 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/12/23 - sjoerd: src/backends/monet5/sql_readline.mx,1.13.6.3
  Free buffer.
  Found by Coverity.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql_readline.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_readline.mx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- sql_readline.mx     2 Dec 2009 09:33:07 -0000       1.15
+++ sql_readline.mx     26 Dec 2009 10:56:28 -0000      1.16
@@ -186,6 +186,7 @@
                        if (cntxt->fdin->buf == NULL) {
                                cntxt->fdin->len = 0;
                                cntxt->fdin->size = 0;
+                               free(buf);
                                return -1;
                        }
                        cntxt->fdin->len = len;


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to