libxml2 r3809 - trunk
- From: veillard svn gnome org
- To: svn-commits-list gnome org
- Subject: libxml2 r3809 - trunk
- Date: Sun, 18 Jan 2009 14:57:04 +0000 (UTC)
Author: veillard
Date: Sun Jan 18 14:57:04 2009
New Revision: 3809
URL: http://svn.gnome.org/viewvc/libxml2?rev=3809&view=rev
Log:
* threads.c: patch from Daniel Zimmermann fixing a memory leak
in an edge case, solves #562230
Daniel
Modified:
trunk/ChangeLog
trunk/threads.c
Modified: trunk/threads.c
==============================================================================
--- trunk/threads.c (original)
+++ trunk/threads.c Sun Jan 18 14:57:04 2009
@@ -698,6 +698,7 @@
if (p == NULL) {
xmlGenericError(xmlGenericErrorContext,
"xmlGetGlobalState: out of memory\n");
+ xmlFreeGlobalState(tsd);
return(NULL);
}
p->memory = tsd;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]