about summary refs log tree commit diff stats
path: root/src/preferences.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/preferences.c')
-rw-r--r--src/preferences.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/preferences.c b/src/preferences.c
index bcd749ce..833425d8 100644
--- a/src/preferences.c
+++ b/src/preferences.c
@@ -93,6 +93,12 @@ prefs_load(void)
         p_autocomplete_add(ac, jids[i]);
     }
 
+    for (i = 0; i < njids; i++) {
+        free(jids[i]);
+    }
+    free(jids);
+
+
     _load_colours();
 }