aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/datetime-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index a1b9c69..4edd3e7 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -603,6 +603,7 @@ update_timezone_menu_items(gpointer user_data) {
dbusmenu_menuitem_property_set_bool (current_location, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE);
if (len == 0) {
+ g_strfreev (locations);
g_debug("No locations configured (Empty List)");
return FALSE;
}