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

Modified Files:
        serialize.mx 
Log Message:
propagated changes of Wednesday Dec 23 2009 - Saturday Dec 26 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/12/23 - sjoerd: runtime/serialize.mx,1.122.8.1
  Fix potential memory leak.
  Found by Coverity.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: serialize.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/serialize.mx,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- serialize.mx        7 Apr 2009 08:54:23 -0000       1.122
+++ serialize.mx        26 Dec 2009 10:58:01 -0000      1.123
@@ -2211,7 +2211,10 @@
                 ret = draw_queryflow(*xrpc_updating, *xrpc_seqnr, xrpc_method, 
time_exec, xrpc_hostport, participants);
                 BBPunfix(participants->batCacheid);
             }
-            if (ret == GDK_FAIL) return ret;
+            if (ret == GDK_FAIL) {
+                detach_teestream(fp);
+                return ret;
+            }
         }
     }
     ret = xquery_print_result_driver (


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to