Fixing selection memleak for #68.

This commit is contained in:
Martin Dvorak 2018-08-20 17:14:00 +02:00
parent 5dc3596237
commit 8e8b3246c9

View file

@ -364,6 +364,7 @@ void hstr_destroy(void)
// blacklist is allocated by hstr struct
blacklist_destroy(&hstr->blacklist, false);
prioritized_history_destroy(hstr->history);
if(hstr->selection) free(hstr->selection);
free(hstr);
}