1
0
mirror of https://github.com/GNOME/libxml2.git synced 2025-05-09 05:11:41 +08:00

Fix memory leak in xmlCanonicPath

Found with libFuzzer and ASan.
This commit is contained in:
Nick Wellnhofer 2017-05-27 14:44:36 +02:00
parent cf60dbe461
commit d6b3645f9b

1
uri.c
View File

@ -2455,6 +2455,7 @@ xmlCanonicPath(const xmlChar *path)
xmlFreeURI(uri);
return escURI;
}
xmlFree(escURI);
}
}