diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2009-01-18 14:57:04 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2009-01-18 14:57:04 +0000 |
commit | bf2ebff0f11e4a3fbf2176c3deb00b8c7cecc5e4 (patch) | |
tree | 68b58dcd253f5b55489392cdb99dc2ff2f9fa128 /threads.c | |
parent | 1fb2e0dfc6319b55478858f7a7b7a21e0861982e (diff) | |
download | libxml2-bf2ebff0f11e4a3fbf2176c3deb00b8c7cecc5e4.tar.gz |
patch from Daniel Zimmermann fixing a memory leak in an edge case, solves
* threads.c: patch from Daniel Zimmermann fixing a memory leak
in an edge case, solves #562230
Daniel
svn path=/trunk/; revision=3809
Diffstat (limited to 'threads.c')
-rw-r--r-- | threads.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -698,6 +698,7 @@ xmlGetGlobalState(void) if (p == NULL) { xmlGenericError(xmlGenericErrorContext, "xmlGetGlobalState: out of memory\n"); + xmlFreeGlobalState(tsd); return(NULL); } p->memory = tsd; |