diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-03-01 20:30:07 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-03-01 20:30:07 -0600 |
commit | cf8ba28a080998c29e415abeda4277452539cc49 (patch) | |
tree | a29690a9dd85f46ba0824cd55fb3ede03d5f9609 | |
parent | a8a5a7913ccac164bb8abe4dad8afc9bb736d665 (diff) | |
download | ayatana-indicator-datetime-cf8ba28a080998c29e415abeda4277452539cc49.tar.gz ayatana-indicator-datetime-cf8ba28a080998c29e415abeda4277452539cc49.tar.bz2 ayatana-indicator-datetime-cf8ba28a080998c29e415abeda4277452539cc49.zip |
fix potential minor memory leak in update_timezone_menu_items()
-rw-r--r-- | src/datetime-service.c | 1 |
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; } |