Update of /cvsroot/monetdb/pathfinder/runtime
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7466

Modified Files:
      Tag: Nov2009
        xrpc_client.mx 
Log Message:
Free buffer when it was only partially allocated.


Index: xrpc_client.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_client.mx,v
retrieving revision 1.56.2.2
retrieving revision 1.56.2.3
diff -u -d -r1.56.2.2 -r1.56.2.3
--- xrpc_client.mx      7 Dec 2009 12:06:14 -0000       1.56.2.2
+++ xrpc_client.mx      7 Dec 2009 12:23:16 -0000       1.56.2.3
@@ -895,6 +895,8 @@
         }
     } else {
         GDKerror("byvalue_request: failed to create outgoing buffer\n");
+        if (b)
+            buffer_destroy(b);
         return NULL;
     }
 


------------------------------------------------------------------------------
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-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to