mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +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
|
static inline void
|
||||||
listbox_destroy (WListbox * l)
|
listbox_destroy (WListbox * l)
|
||||||
{
|
{
|
||||||
/* don't delete list in modifable listbox */
|
listbox_remove_list (l);
|
||||||
if (!l->deletable)
|
|
||||||
listbox_remove_list (l);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static cb_ret_t
|
static cb_ret_t
|
||||||
|
Loading…
Reference in New Issue
Block a user