mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix memory leak and cleanup
This commit is contained in:
parent
4a70f5f513
commit
07fcaa7be3
@ -895,7 +895,7 @@ _rosterwin_private_chats(ProfLayoutSplit* layout, GList* orphaned_privchats)
|
||||
{
|
||||
GList* privs = NULL;
|
||||
|
||||
char* privpref = prefs_get_string(PREF_ROSTER_PRIVATE);
|
||||
auto_gchar gchar* privpref = prefs_get_string(PREF_ROSTER_PRIVATE);
|
||||
if (g_strcmp0(privpref, "group") == 0) {
|
||||
privs = wins_get_private_chats(NULL);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user