mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Fixed memory leaks after history show.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
5cccff75fb
commit
460311c7c7
@ -2751,9 +2751,7 @@ listbox_key (WListbox * l, int key)
|
||||
static inline void
|
||||
listbox_destroy (WListbox * l)
|
||||
{
|
||||
/* don't delete list in modifable listbox */
|
||||
if (!l->deletable)
|
||||
listbox_remove_list (l);
|
||||
listbox_remove_list (l);
|
||||
}
|
||||
|
||||
static cb_ret_t
|
||||
|
Loading…
Reference in New Issue
Block a user