about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-02-09 20:11:51 +0000
committerJames Booth <boothj5@gmail.com>2015-02-09 20:11:51 +0000
commit893b58bf4e0f6329ac36caac4408aa1200912e30 (patch)
tree870332a1536915a2325a274cee318b29356c7be8
parent23aaa51a2af836d705a49bde561d9b8431695499 (diff)
downloadprofani-tty-893b58bf4e0f6329ac36caac4408aa1200912e30.tar.gz
Use chat_state_free to free chat states
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
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) {