mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
(clean_dir): try minimize memory usage.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
30cc6c6a29
commit
6aa9503f2f
@ -492,6 +492,8 @@ clean_dir (dir_list * list)
|
||||
}
|
||||
|
||||
list->len = 0;
|
||||
/* reduce memory usage */
|
||||
dir_list_grow (list, MIN_FILES - list->size);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user