aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-03-18 10:46:34 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-03-18 10:46:34 -0500
commit763210baf2aeb40d3dc39399fd8787d01fad7196 (patch)
tree6c92144f6d812b5805ff2042d2add2b9acc4674f
parente17c55cfb54dfcf7231459154daa598311fa7786 (diff)
downloadayatana-indicator-datetime-763210baf2aeb40d3dc39399fd8787d01fad7196.tar.gz
ayatana-indicator-datetime-763210baf2aeb40d3dc39399fd8787d01fad7196.tar.bz2
ayatana-indicator-datetime-763210baf2aeb40d3dc39399fd8787d01fad7196.zip
leak: fix ESourceList leak in update_appointment_menu_items()
-rw-r--r--src/datetime-service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index e628ef3..8aa01c0 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -1013,6 +1013,8 @@ update_appointment_menu_items (gpointer user_data)
GVariant * marks = g_variant_builder_end (&markeddays);
dbusmenu_menuitem_property_set_variant (calendar, CALENDAR_MENUITEM_PROP_MARKS, marks);
+
+ g_clear_object (&sources);
updating_appointments = FALSE;
g_debug("End of objects");