summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-11-29 23:08:23 +0100
committerDave Davenport <qball@gmpclient.org>2017-11-29 23:08:23 +0100
commitf123deb37bc6778136c7091b4bdc6ea7ebfefd09 (patch)
treeee92a378749f6cdc636f714c9a9e145cc1a73ec8
parent9281c01b3b38d9a2e9dc5063f76cd4f1e15b4027 (diff)
When no new theme file present, don't print it in help.
-rw-r--r--source/rofi.c5
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 );
}
}