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

Fix memleak in wins_new

This commit is contained in:
James Booth 2014-06-15 21:23:21 +01:00
parent c9274a38b2
commit 258a0ec873

View File

@ -239,6 +239,7 @@ wins_new(const char * const from, win_type_t type)
int cols = getmaxx(stdscr);
ProfWin *new = win_create(from, cols, type);
g_hash_table_insert(windows, GINT_TO_POINTER(result), new);
g_list_free(keys);
return new;
}