[evolution-patches] memory leak in alarm notify daemon
- From: Rodrigo Moya <rodrigo novell com>
- To: Evolution Patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] memory leak in alarm notify daemon
- Date: Fri, 18 Feb 2005 13:09:52 +0100
--
Rodrigo Moya <rodrigo novell com>
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2667
diff -u -p -r1.2667 ChangeLog
--- ChangeLog 18 Feb 2005 05:41:05 -0000 1.2667
+++ ChangeLog 18 Feb 2005 12:11:13 -0000
@@ -1,3 +1,8 @@
+2005-02-18 Rodrigo Moya <rodrigo novell com>
+
+ * gui/alarm-notify/alarm-notify.c (cal_opened_cb): if opening
+ the calendar failed, disconnect signals and unref it.
+
2005-02-18 Chenthill Palanisamy <pchenthill novell com>
* _EventPagePrivate: added a boolean variable is_meeting.
Index: gui/alarm-notify/alarm-notify.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/alarm-notify.c,v
retrieving revision 1.45
diff -u -p -r1.45 alarm-notify.c
--- gui/alarm-notify/alarm-notify.c 17 Jan 2005 13:39:19 -0000 1.45
+++ gui/alarm-notify/alarm-notify.c 18 Feb 2005 12:11:13 -0000
@@ -303,6 +303,9 @@ cal_opened_cb (ECal *client, ECalendarSt
else {
g_hash_table_remove (priv->uri_client_hash[e_cal_get_source_type (client)],
e_cal_get_uri (client));
+ g_signal_handlers_disconnect_matched (G_OBJECT (client), G_SIGNAL_MATCH_DATA,
+ 0, 0, NULL, NULL, an);
+ g_object_unref (client);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]