1
0
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:
James Booth 2015-02-09 20:11:51 +00:00
parent 23aaa51a2a
commit 893b58bf4e

View File

@ -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) {