1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fixed memory leak in ProfMucWin

Profanity remembers last message and its id for the message correction
feature. We must free them in window destructor.
This commit is contained in:
Dmitry Podgorny 2020-04-03 01:47:38 +03:00
parent 15e05d1706
commit 37c200571f

View File

@ -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: