From 893b58bf4e0f6329ac36caac4408aa1200912e30 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 9 Feb 2015 20:11:51 +0000 Subject: Use chat_state_free to free chat states --- src/ui/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ui/window.c b/src/ui/window.c index 54f1b99f..1cdf2f26 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -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) { -- cgit 1.4.1-2-gfad0