[lasem/mml-attrs] [SVG] Frees ressources allocated for attributes.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [lasem/mml-attrs] [SVG] Frees ressources allocated for attributes.
- Date: Sun, 3 Jan 2010 20:50:15 +0000 (UTC)
commit 6ac792895492c503c7cd48596a3e38e987ee018e
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Sun Jan 3 21:46:37 2010 +0100
[SVG] Frees ressources allocated for attributes.
src/lsmsvgelement.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/lsmsvgelement.c b/src/lsmsvgelement.c
index 2fb0e9d..ceb783a 100644
--- a/src/lsmsvgelement.c
+++ b/src/lsmsvgelement.c
@@ -236,9 +236,11 @@ lsm_svg_element_init (LsmSvgElement *element)
static void
lsm_svg_element_finalize (GObject *object)
{
+ LsmSvgElementClass *s_element_class = LSM_SVG_ELEMENT_GET_CLASS (object);
LsmSvgElement *svg_element = LSM_SVG_ELEMENT (object);
lsm_svg_property_bag_clean (&svg_element->property_bag);
+ lsm_attribute_manager_clean_attributes (s_element_class->attribute_manager, svg_element);
parent_class->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]