Free prefs strings, check for NULLs when closing pgp module

This commit is contained in:
James Booth
2015-06-24 14:27:40 +01:00
parent 815ca16f48
commit 17919298f7
4 changed files with 17 additions and 6 deletions

View File

@@ -1043,6 +1043,7 @@ cons_roster_setting(void)
char *by = prefs_get_string(PREF_ROSTER_BY);
cons_show("Roster by (/roster) : %s", by);
prefs_free_string(by);
int size = prefs_get_roster_size();
cons_show("Roster size (/roster) : %d", size);