diff options
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/preferences.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 3a7e489a..3d5c9325 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -23,6 +23,7 @@ #include "config.h" #include <stdlib.h> +#include <stdio.h> #include <string.h> #include <glib.h> @@ -86,6 +87,7 @@ prefs_close(void) { autocomplete_free(boolean_choice_ac); g_key_file_free(prefs); + prefs = NULL; } char * |