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

Modified Files:
      Tag: M5XQ
        xrpc_server.mx 
Log Message:
propagated changes of Wednesday Dec 09 2009
from the XQFT branch to the M5XQ branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/12/09 - sjoerd: runtime/xrpc_server.mx,1.91.4.1
  propagated changes of Wednesday Dec 09 2009
  from the development trunk to the XQFT branch
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2009/12/09 - sjoerd: runtime/xrpc_server.mx,1.92
    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.89.2.2
retrieving revision 1.89.2.3
diff -u -d -r1.89.2.2 -r1.89.2.3
--- xrpc_server.mx      7 Aug 2009 13:43:42 -0000       1.89.2.2
+++ xrpc_server.mx      9 Dec 2009 14:26:12 -0000       1.89.2.3
@@ -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

Reply via email to