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

Modified Files:
      Tag: XQFT
        xml2lalg.c 
Log Message:
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.40.2.1
retrieving revision 1.40.2.2
diff -u -d -r1.40.2.1 -r1.40.2.2
--- xml2lalg.c  10 Nov 2009 18:49:54 -0000      1.40.2.1
+++ xml2lalg.c  4 Dec 2009 14:44:47 -0000       1.40.2.2
@@ -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