[evolution-patches] ref leak
- From: Larry Ewing <lewing ximian com>
- To: patches <evolution-patches ximian com>, Mike Kestner <mkestner ximian com>
- Subject: [evolution-patches] ref leak
- Date: 20 Jun 2003 01:37:56 -0500
Another small one.
--Larry
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/gal/menus/ChangeLog,v
retrieving revision 1.67
diff -u -p -r1.67 ChangeLog
--- ChangeLog 16 May 2003 21:58:33 -0000 1.67
+++ ChangeLog 20 Jun 2003 06:37:12 -0000
@@ -1,3 +1,8 @@
+2003-06-20 Larry Ewing <lewing ximian com>
+
+ * gal-view-etable.c (config_changed): unref after g_object_get
+ adds a ref.
+
2003-05-16 Mike Kestner <mkestner ximian com>
* gal-view-collection.c (view_changed): block the signal
Index: gal-view-etable.c
===================================================================
RCS file: /cvs/gnome/gal/gal/menus/gal-view-etable.c,v
retrieving revision 1.15
diff -u -p -r1.15 gal-view-etable.c
--- gal-view-etable.c 19 Dec 2002 02:23:44 -0000 1.15
+++ gal-view-etable.c 20 Jun 2003 06:37:12 -0000
@@ -67,6 +67,8 @@ config_changed (ETableConfig *config, Ga
"state", &state,
NULL);
view->state = e_table_state_duplicate(state);
+ g_object_unref (state);
+
gal_view_changed(GAL_VIEW(view));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]