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

Modified Files:
      Tag: M5XQ
        serialize.mx 
Log Message:
propagated changes of Monday Jan 04 2010
from the XQFT branch to the M5XQ branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/01/04 - sjoerd: runtime/serialize.mx,1.122.12.1
  propagated changes of Saturday Dec 26 2009 - Monday Jan 04 2010
  from the development trunk to the XQFT branch
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2009/12/26 - stmane: runtime/serialize.mx,1.123
    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.122.2.1
diff -u -d -r1.122 -r1.122.2.1
--- serialize.mx        7 Apr 2009 08:54:23 -0000       1.122
+++ serialize.mx        4 Jan 2010 15:21:56 -0000       1.122.2.1
@@ -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