From af3d39b6cc447fad30e97ecdc715e0496e971d85 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Tue, 4 Dec 2012 13:58:23 +0000 Subject: im-application-list: initialize local variables with NULL They are not set in every code path but freed at the end of the function. --- src/im-application-list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/im-application-list.c b/src/im-application-list.c index 77c0e47..da78813 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -577,8 +577,8 @@ im_application_list_message_added (Application *app, gboolean draws_attention; GSimpleAction *action; GIcon *app_icon; - gchar *app_iconstr; - gchar *symbolic_app_iconstr; + gchar *app_iconstr = NULL; + gchar *symbolic_app_iconstr = NULL; GVariant *actions = NULL; g_variant_get (message, "(&s&s&s&s&sxaa{sv}b)", -- cgit v1.2.3