(clean_dir): try minimize memory usage.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2013-08-24 10:08:39 +04:00
parent 30cc6c6a29
commit 6aa9503f2f

View File

@ -492,6 +492,8 @@ clean_dir (dir_list * list)
}
list->len = 0;
/* reduce memory usage */
dir_list_grow (list, MIN_FILES - list->size);
}
/* --------------------------------------------------------------------------------------------- */