about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-04-03 00:11:12 +0200
committerGitHub <noreply@github.com>2020-04-03 00:11:12 +0200
commitfd19b45a37adcaa36af72b51f8dfaeeae1e8a09b (patch)
tree955ef3ef3d4d5bba7a5de6bf275c685bb4d680f7 /src
parent35edc56b1da851134aecfe1828b6b1726834957c (diff)
parent37c200571ff5e6c7e5a09ee3e6cafb4c4055ed31 (diff)
downloadprofani-tty-fd19b45a37adcaa36af72b51f8dfaeeae1e8a09b.tar.gz
Merge pull request #1297 from profanity-im/memleak-mucwin
Fixed memory leak in ProfMucWin
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 7c093480..fdf5d3f9 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -519,6 +519,8 @@ win_free(ProfWin* window)
         free(mucwin->room_name);
         free(mucwin->enctext);
         free(mucwin->message_char);
+        free(mucwin->last_message);
+        free(mucwin->last_msg_id);
         break;
     }
     case WIN_CONFIG: