mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-29 19:56:07 -04:00
Merge pull request #1299 from profanity-im/memleaks
Fix few memory leaks
This commit is contained in:
commit
49057077b9
@ -751,7 +751,7 @@ cons_show_disco_info(const char *jid, GSList *identities, GSList *features)
|
|||||||
identity_str = g_string_append(identity_str, identity->category);
|
identity_str = g_string_append(identity_str, identity->category);
|
||||||
}
|
}
|
||||||
cons_show(identity_str->str);
|
cons_show(identity_str->str);
|
||||||
g_string_free(identity_str, FALSE);
|
g_string_free(identity_str, TRUE);
|
||||||
identities = g_slist_next(identities);
|
identities = g_slist_next(identities);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,6 +172,7 @@ rosterwin_roster(void)
|
|||||||
_rosterwin_private_chats(layout, orphaned_privchats);
|
_rosterwin_private_chats(layout, orphaned_privchats);
|
||||||
}
|
}
|
||||||
prefs_free_string(privpref);
|
prefs_free_string(privpref);
|
||||||
|
g_list_free(privchats);
|
||||||
g_list_free(orphaned_privchats);
|
g_list_free(orphaned_privchats);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user