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

Modified Files:
        xml2lalg.c 
Log Message:
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.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- xml2lalg.c  10 Nov 2009 16:16:54 -0000      1.42
+++ xml2lalg.c  4 Dec 2009 14:39:38 -0000       1.43
@@ -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