Update of /cvsroot/monetdb/pathfinder/runtime
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3283
Modified Files:
Tag: Nov2009
xrpc_server.mx
Log Message:
Fix potential memory leak.
Fount by Coverity.
(Actually, there was no leak since wbstream never returns a non-NULL
stream with errors, but Coverity doesn't know that.)
Index: xrpc_server.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_server.mx,v
retrieving revision 1.91
retrieving revision 1.91.2.1
diff -u -d -r1.91 -r1.91.2.1
--- xrpc_server.mx 7 Aug 2009 13:27:28 -0000 1.91
+++ xrpc_server.mx 7 Dec 2009 11:58:02 -0000 1.91.2.1
@@ -752,9 +752,13 @@
MT_up_sema(mc->s, "XRPC"); /* activate the thread */
return 0;
}
+ }
+ if (fdout) {
stream_close(fdout);
stream_destroy(fdout);
}
+ }
+ if (fdin) {
stream_close(fdin);
stream_destroy(fdin);
}
------------------------------------------------------------------------------
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