mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 19:46:22 +00:00
Free titlebar current_recipient when switching to console
This commit is contained in:
@@ -95,6 +95,9 @@ void
|
||||
title_bar_console(void)
|
||||
{
|
||||
werase(win);
|
||||
if (current_recipient != NULL) {
|
||||
free(current_recipient);
|
||||
}
|
||||
current_recipient = NULL;
|
||||
typing = FALSE;
|
||||
typing_elapsed = NULL;
|
||||
@@ -264,4 +267,4 @@ _title_bar_draw(void)
|
||||
|
||||
wnoutrefresh(win);
|
||||
inp_put_back();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user