From f123deb37bc6778136c7091b4bdc6ea7ebfefd09 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 29 Nov 2017 23:08:23 +0100 Subject: When no new theme file present, don't print it in help. --- source/rofi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/rofi.c b/source/rofi.c index 128d0c45..b1ff5936 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -848,8 +848,9 @@ int main ( int argc, char *argv[] ) rofi_theme_free ( rofi_theme ); rofi_theme = NULL; } - } - else { + } else { + g_free ( config_path_new ); + config_path_new = NULL; config_parse_xresource_options_file ( config_path ); } } -- cgit v1.2.3