gjs r156 - trunk/gi
- From: jobi svn gnome org
- To: svn-commits-list gnome org
- Subject: gjs r156 - trunk/gi
- Date: Fri, 6 Feb 2009 11:23:20 +0000 (UTC)
Author: jobi
Date: Fri Feb 6 11:23:20 2009
New Revision: 156
URL: http://svn.gnome.org/viewvc/gjs?rev=156&view=rev
Log:
Bug 570775 â array of parameters leaked on each new GObject
gi/object.c: plug the leak of the array of GParameters
Modified:
trunk/gi/object.c
Modified: trunk/gi/object.c
==============================================================================
--- trunk/gi/object.c (original)
+++ trunk/gi/object.c Fri Feb 6 11:23:20 2009
@@ -696,6 +696,7 @@
}
priv->gobj = g_object_newv(gtype, n_params, params);
+ free_g_params(params, n_params);
if (G_IS_INITIALLY_UNOWNED(priv->gobj) &&
!g_object_is_floating(priv->gobj)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]