diff --git a/src/ui/console.c b/src/ui/console.c index 6b35cead..4683f699 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -751,7 +751,7 @@ cons_show_disco_info(const char *jid, GSList *identities, GSList *features) identity_str = g_string_append(identity_str, identity->category); } cons_show(identity_str->str); - g_string_free(identity_str, FALSE); + g_string_free(identity_str, TRUE); identities = g_slist_next(identities); } diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c index 1d295053..9615db22 100644 --- a/src/ui/rosterwin.c +++ b/src/ui/rosterwin.c @@ -172,6 +172,7 @@ rosterwin_roster(void) _rosterwin_private_chats(layout, orphaned_privchats); } prefs_free_string(privpref); + g_list_free(privchats); g_list_free(orphaned_privchats); }