mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fix multiple memory leaks related to rosterwin_roster()
There are multiple paths which lead to rosterwin_roster(). The function doesn't free list returned by wins_get_private_chats().
This commit is contained in:
parent
ba291a03f4
commit
42b6d78a70
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user