Update of /cvsroot/monetdb/sql/src/backends/monet5/merovingian
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10668/src/backends/monet5/merovingian
Modified Files:
control.c
Log Message:
propagated changes of Wednesday Dec 02 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/12/02 - sjoerd: src/backends/monet5/merovingian/control.c,1.6.2.1
Free buf when we're done with it.
Found by Coverity.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: control.c
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/merovingian/control.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- control.c 23 Sep 2009 12:41:02 -0000 1.6
+++ control.c 2 Dec 2009 09:33:11 -0000 1.7
@@ -114,6 +114,7 @@
buf = control_hash(pass, buf);
len = snprintf(sbuf, sizeof(sbuf), "%s\n", buf);
+ free(buf);
send(sock, sbuf, len, 0);
if ((len = recv(sock, sbuf, sizeof(sbuf), 0)) <= 0)
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins