Update of /cvsroot/monetdb/pathfinder/runtime
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23170/runtime
Modified Files:
xrpc_server.mx
Log Message:
propagated changes of Monday Dec 07 2009 - Wednesday Dec 09 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/12/07 - sjoerd: runtime/xrpc_server.mx,1.91.2.1
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.92
diff -u -d -r1.91 -r1.92
--- xrpc_server.mx 7 Aug 2009 13:27:28 -0000 1.91
+++ xrpc_server.mx 9 Dec 2009 12:47:56 -0000 1.92
@@ -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);
}
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins