mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 02:46:20 +00:00
Use chat_state_free to free chat states
This commit is contained in:
@@ -336,7 +336,7 @@ win_free(ProfWin* window)
|
|||||||
ProfChatWin *chatwin = (ProfChatWin*)window;
|
ProfChatWin *chatwin = (ProfChatWin*)window;
|
||||||
free(chatwin->barejid);
|
free(chatwin->barejid);
|
||||||
free(chatwin->resource_override);
|
free(chatwin->resource_override);
|
||||||
free(chatwin->state);
|
chat_state_free(chatwin->state);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window->type == WIN_MUC) {
|
if (window->type == WIN_MUC) {
|
||||||
|
|||||||
Reference in New Issue
Block a user