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

Modified Files:
      Tag: Nov2009
        pf_support.mx 
Log Message:
Move destroy functions to appropriate places.
Coverity found the leak of s.


Index: pf_support.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pf_support.mx,v
retrieving revision 1.336.4.1
retrieving revision 1.336.4.2
diff -u -d -r1.336.4.1 -r1.336.4.2
--- pf_support.mx       4 Dec 2009 15:06:31 -0000       1.336.4.1
+++ pf_support.mx       23 Dec 2009 15:05:06 -0000      1.336.4.2
@@ -8819,11 +8819,11 @@
                              NULL, /* xrpc_seqnr */
                              NULL, /* xrpc_timeout */
                              NULL);/* xrpc_start */
-                         stream_destroy(s);
+                        BBPreclaim(k);
                     }
-                    BBPreclaim(k);
+                    BBPreclaim(i);
                 }
-                BBPreclaim(i);
+                stream_destroy(s);
             } 
             fclose(fp);
         } else {


------------------------------------------------------------------------------
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