diff --git a/src/tray.c b/src/tray.c index 84936fa0..e227b68a 100644 --- a/src/tray.c +++ b/src/tray.c @@ -91,7 +91,7 @@ static void _get_icons(void) g_string_append(icon_filename, "/proIcon.png"); } else if (g_strcmp0("proIconMsg.png", name->str) == 0){ - if (icon_filename) { + if (icon_msg_filename) { g_string_free(icon_msg_filename, true); } icon_msg_filename = g_string_new(icons_dir->str);