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

Modified Files:
      Tag: M5XQ
        xml2lalg.c 
Log Message:
propagated changes of Friday Dec 04 2009
from the XQFT branch to the M5XQ branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/12/04 - sjoerd: compiler/xmlimport/xml2lalg.c,1.40.2.2
  propagated changes of Friday Dec 04 2009
  from the development trunk to the XQFT branch
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2009/12/04 - sjoerd: compiler/xmlimport/xml2lalg.c,1.43
    propagated changes of Friday Dec 04 2009
    from the Nov2009 branch to the development trunk
  
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2009/12/04 - sjoerd: compiler/xmlimport/xml2lalg.c,1.38.4.3
      xpathObjPtr cannot be NULL since it was dereferenced a few lines ago.
      Found by Coverity.
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: xml2lalg.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/xmlimport/xml2lalg.c,v
retrieving revision 1.32.2.8
retrieving revision 1.32.2.9
diff -u -d -r1.32.2.8 -r1.32.2.9
--- xml2lalg.c  10 Nov 2009 18:58:34 -0000      1.32.2.8
+++ xml2lalg.c  4 Dec 2009 14:49:41 -0000       1.32.2.9
@@ -2460,8 +2460,7 @@
     if(nodeSetPtr)
         xmlXPathFreeNodeSet(nodeSetPtr);
     */
-    if(xpathObjPtr)
-        xmlXPathFreeObject(xpathObjPtr);
+    xmlXPathFreeObject(xpathObjPtr);
 
     return rootNode;
 }


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to