diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-11-29 23:08:23 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-11-29 23:08:23 +0100 |
commit | f123deb37bc6778136c7091b4bdc6ea7ebfefd09 (patch) | |
tree | ee92a378749f6cdc636f714c9a9e145cc1a73ec8 | |
parent | 9281c01b3b38d9a2e9dc5063f76cd4f1e15b4027 (diff) |
When no new theme file present, don't print it in help.
-rw-r--r-- | source/rofi.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 ); } } |