Commits

Anonymous committed 92ead4d

Fix leak when string is empty
Log:
PR:

  • Participants
  • Parent commits fae673f

Comments (0)

Files changed (1)

File perl-libxml-mm.c

             }
             retval = xmlStrdup(string);
         }
+	else {
+            retval = "";
+	}
         if (string != NULL ) {
             xmlFree(string);
         }