diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-20 03:26:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-20 03:26:15 +0200 |
commit | 449ddb2d23a63ca4c8cd70d13a070fba87c1fb30 (patch) | |
tree | c202f02f5162b0881a0e8df4a35adc211fcd57b6 /src/set.c | |
parent | 11ce3427242b8b4ddf638ed5703d69041d719b4c (diff) |
remount: add tool that applies /etc/fstab mount options to all api mounts
Diffstat (limited to 'src/set.c')
-rw-r--r-- | src/set.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -38,12 +38,7 @@ void set_free(Set* s) { } void set_free_free(Set *s) { - void *p; - - while ((p = set_steal_first(s))) - free(p); - - set_free(s); + hashmap_free_free(MAKE_HASHMAP(s)); } int set_ensure_allocated(Set **s, hash_func_t hash_func, compare_func_t compare_func) { |