diff options
author | Anton Ovchinnikov <revolver112@gmail.com> | 2013-07-11 13:44:24 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-07-11 13:44:24 +0100 |
commit | 3ebc58cc4370567be7301e02b661a2fe5478d86c (patch) | |
tree | f201af65a73f99fde918edbf2912d8695c103420 /tests/dd | |
parent | 27712763e34b8569012f39d18aaf698e2840ec3f (diff) | |
download | coreutils-3ebc58cc4370567be7301e02b661a2fe5478d86c.tar.xz |
df: reduce memory usage when filtering mount entries
Avoid Valgrind reports of "definitely lost" items
and while at it, free all discarded mount entries
to minimize the amount of memory used.
* src/df.c (filter_mount_list): Use the newly exported
free_mount_entry() from gnulib to free all mount entries
as they're discarded.
Diffstat (limited to 'tests/dd')
0 files changed, 0 insertions, 0 deletions