[lasem] [DOM] Memory leak fix.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: svn-commits-list gnome org
- Subject: [lasem] [DOM] Memory leak fix.
- Date: Sun, 3 May 2009 05:11:55 -0400 (EDT)
commit 53e0fa1d6d9df15619dc390575e255e91c7f32ad
Author: Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Date: Sun May 3 11:10:41 2009 +0200
[DOM] Memory leak fix.
---
src/lsmdomattributes.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/lsmdomattributes.c b/src/lsmdomattributes.c
index 2f5eb97..a871c1d 100644
--- a/src/lsmdomattributes.c
+++ b/src/lsmdomattributes.c
@@ -414,6 +414,7 @@ lsm_dom_string_attribute_parse (LsmDomStringAttribute *attribute,
} else {
g_free (*style_value);
*style_value = g_strdup (string);
+ g_free (attribute->value);
attribute->value = g_strdup (string);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]