caught memory error
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Nov 2005 21:51:01 +0000 (21:51 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Nov 2005 21:51:01 +0000 (21:51 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1987 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/apachemods/mod_xmlbuilder.c

index 25be733..14f9d49 100644 (file)
@@ -196,8 +196,10 @@ void xmlBuilderStartElement( void* context, const xmlChar *name, const xmlChar *
 
                if(!node) {
                        apacheError("Unable to parse xinclude: %s", href );
+                       free(href);
                        return;
                }
+               free(href);
 
        } else {
                node = xmlNewNode(NULL, name);