mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Use chat_state_free to free chat states
This commit is contained in:
parent
23aaa51a2a
commit
893b58bf4e
@ -336,7 +336,7 @@ win_free(ProfWin* window)
|
||||
ProfChatWin *chatwin = (ProfChatWin*)window;
|
||||
free(chatwin->barejid);
|
||||
free(chatwin->resource_override);
|
||||
free(chatwin->state);
|
||||
chat_state_free(chatwin->state);
|
||||
}
|
||||
|
||||
if (window->type == WIN_MUC) {
|
||||
|
Loading…
Reference in New Issue
Block a user