about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-20 18:40:48 +0000
committerJames Booth <boothj5@gmail.com>2014-01-20 18:40:48 +0000
commita7a28506376ff3ddf9eef5a6b3b140f8cb9c1da7 (patch)
tree606d671d0280b7c79104de31be3696a2c5d9ce55 /src/config
parent3f0addbc99bb7bf29c9a2b3b122200b8d4be7e23 (diff)
downloadprofani-tty-a7a28506376ff3ddf9eef5a6b3b140f8cb9c1da7.tar.gz
WIP - /statuses command options
Diffstat (limited to 'src/config')
-rw-r--r--src/config/preferences.c2
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 *