diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-08-27 17:30:22 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-08-27 17:30:22 +0200 |
commit | 90fdd58aafdc8e8d8f2537acf2c1800a76a8378e (patch) | |
tree | bc37d6a335f54514dc4100f5ce5439af85eea4dd | |
parent | 99373eb1ab1ce5aa293857625ccbe53211cd38ee (diff) | |
download | ayatana-indicator-messages-90fdd58aafdc8e8d8f2537acf2c1800a76a8378e.tar.gz ayatana-indicator-messages-90fdd58aafdc8e8d8f2537acf2c1800a76a8378e.tar.bz2 ayatana-indicator-messages-90fdd58aafdc8e8d8f2537acf2c1800a76a8378e.zip |
ido_menu_item_set_menu_item: make sure g_free isn't called with dangling pointer
-rw-r--r-- | src/ido-menu-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ido-menu-item.c b/src/ido-menu-item.c index cee032f..6b19d2a 100644 --- a/src/ido-menu-item.c +++ b/src/ido-menu-item.c @@ -321,7 +321,7 @@ ido_menu_item_set_menu_item (IdoMenuItem *self, { gchar *iconstr = NULL; GIcon *icon = NULL; - gchar *label; + gchar *label = NULL; gchar *action = NULL; if (g_menu_item_get_attribute (menuitem, "x-canonical-icon", "s", &iconstr)) |