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:
parent
15e05d1706
commit
37c200571f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user