diff options
author | James Booth <boothj5@gmail.com> | 2015-02-09 20:11:51 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-02-09 20:11:51 +0000 |
commit | 893b58bf4e0f6329ac36caac4408aa1200912e30 (patch) | |
tree | 870332a1536915a2325a274cee318b29356c7be8 /src | |
parent | 23aaa51a2af836d705a49bde561d9b8431695499 (diff) | |
download | profani-tty-893b58bf4e0f6329ac36caac4408aa1200912e30.tar.gz |
Use chat_state_free to free chat states
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/window.c | 2 |
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) { |