librsvg r1146 - trunk
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: librsvg r1146 - trunk
- Date: Tue, 12 Feb 2008 15:23:08 +0000 (GMT)
Author: chpe
Date: Tue Feb 12 15:23:08 2008
New Revision: 1146
URL: http://svn.gnome.org/viewvc/librsvg?rev=1146&view=rev
Log:
* rsvg-gobject.c: (rsvg_ctx_free_helper): Fix mismatched
allocators.
Bug #514071.
Modified:
trunk/ChangeLog
trunk/rsvg-gobject.c
Modified: trunk/rsvg-gobject.c
==============================================================================
--- trunk/rsvg-gobject.c (original)
+++ trunk/rsvg-gobject.c Tue Feb 12 15:23:08 2008
@@ -72,12 +72,12 @@
/* key == entval->name, so it's implicitly freed below */
- g_free ((char *) entval->name);
- g_free ((char *) entval->ExternalID);
- g_free ((char *) entval->SystemID);
+ xmlFree ((xmlChar *) entval->name);
+ xmlFree ((xmlChar *) entval->ExternalID);
+ xmlFree ((xmlChar *) entval->SystemID);
xmlFree (entval->content);
xmlFree (entval->orig);
- g_free (entval);
+ xmlFree (entval);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]