1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fix memleak in _inp_rl_linehandler

Introduced in 59b99fece.
This commit is contained in:
Michael Vetter 2023-04-18 21:30:05 +02:00
parent abaf96dcef
commit f20dbcff09

View File

@ -577,6 +577,7 @@ _inp_rl_linehandler(char* line)
if (last == NULL || strcmp(last->line, line) != 0) {
add_history(line);
}
free(history);
}
static gboolean shift_tab = FALSE;