diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2017-05-27 14:44:36 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2017-05-27 15:59:18 +0200 |
commit | d6b3645f9b72e55fece09c8d49f91e78a812b0f4 (patch) | |
tree | 013f1f338040db8334813cfae998afa452693ab9 /uri.c | |
parent | cf60dbe461966f40fece3737f95859144b1d452d (diff) | |
download | libxml2-d6b3645f9b72e55fece09c8d49f91e78a812b0f4.tar.gz |
Fix memory leak in xmlCanonicPath
Found with libFuzzer and ASan.
Diffstat (limited to 'uri.c')
-rw-r--r-- | uri.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2455,6 +2455,7 @@ xmlCanonicPath(const xmlChar *path) xmlFreeURI(uri); return escURI; } + xmlFree(escURI); } } |