diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-03-18 10:46:34 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-03-18 10:46:34 -0500 |
commit | 763210baf2aeb40d3dc39399fd8787d01fad7196 (patch) | |
tree | 6c92144f6d812b5805ff2042d2add2b9acc4674f | |
parent | e17c55cfb54dfcf7231459154daa598311fa7786 (diff) | |
download | ayatana-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.c | 2 |
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"); |