seed r332 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r332 - trunk/libseed
- Date: Mon, 24 Nov 2008 14:20:30 +0000 (UTC)
Author: racarr
Date: Mon Nov 24 14:20:30 2008
New Revision: 332
URL: http://svn.gnome.org/viewvc/seed?rev=332&view=rev
Log:
Fix small GIBaseInfo leak.
Modified:
trunk/libseed/seed-structs.c
trunk/libseed/seed-types.c
Modified: trunk/libseed/seed-structs.c
==============================================================================
--- trunk/libseed/seed-structs.c (original)
+++ trunk/libseed/seed-structs.c Mon Nov 24 14:20:30 2008
@@ -43,6 +43,8 @@
if (priv->free_pointer)
g_free(priv->pointer);
+ if (priv->info)
+ g_base_info_unref(priv->info);
g_free(priv);
}
Modified: trunk/libseed/seed-types.c
==============================================================================
--- trunk/libseed/seed-types.c (original)
+++ trunk/libseed/seed-types.c Mon Nov 24 14:20:30 2008
@@ -584,7 +584,6 @@
}
else
{
- // This is very broken right now, struct rework coming soon...
GIBaseInfo *info;
GIInfoType type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]