mirror of
https://github.com/dvorka/hstr.git
synced 2024-11-10 09:03:06 +08:00
Fixing selection memleak for #68.
This commit is contained in:
parent
5dc3596237
commit
8e8b3246c9
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue