From 6fefbbf8ab47b87fc4cb4a70f82c7bcc0b91587b Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Fri, 2 Jun 2017 14:28:22 +0200 Subject: drun: Keep the icon name around MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don’t need to use it as the “we’ve search already” value since we know just look icons up in a single pass. Signed-off-by: Quentin Glidic --- source/dialogs/drun.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/dialogs') diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c index 51aba5e1..b4834c4f 100644 --- a/source/dialogs/drun.c +++ b/source/dialogs/drun.c @@ -449,9 +449,6 @@ static gpointer drun_icon_fetch ( gpointer data ) } else { g_log ( G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Icon type not yet supported: %s", icon_path ); - char *r = dr->icon_name; - dr->icon_name = NULL; - g_free ( r ); } g_free ( icon_path ); // if ( (i%100) == 99 ) -- cgit v1.2.3