librsvg r1207 - trunk
- From: doml svn gnome org
- To: svn-commits-list gnome org
- Subject: librsvg r1207 - trunk
- Date: Thu, 19 Feb 2009 23:37:41 +0000 (UTC)
Author: doml
Date: Thu Feb 19 23:37:41 2009
New Revision: 1207
URL: http://svn.gnome.org/viewvc/librsvg?rev=1207&view=rev
Log:
2009-02-19 Thomas Andersen <phomes gmail com>
* rsvg-image.c: mem leaks. Bug #444444
Modified:
trunk/ChangeLog
trunk/rsvg-image.c
Modified: trunk/rsvg-image.c
==============================================================================
--- trunk/rsvg-image.c (original)
+++ trunk/rsvg-image.c Thu Feb 19 23:37:41 2009
@@ -472,9 +472,10 @@
RsvgNodeImage *z = (RsvgNodeImage *) self;
rsvg_state_finalize (z->super.state);
g_free (z->super.state);
+ z->super.state = NULL;
if (z->img)
g_object_unref (G_OBJECT (z->img));
- g_free (z);
+ _rsvg_node_free(self);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]