summaryrefslogtreecommitdiff
path: root/src/shared/set.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-03 16:09:36 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-03 16:10:04 +0200
commit9946996cda11a18b44d82344676e5a0e96339408 (patch)
treef1ce011f33dfc88a1b62fa30b1184568afda652c /src/shared/set.c
parentf6c13ce47ebee287f8b6a965ca5ca022a9f26e2c (diff)
load-fragment: a few modernizations
Diffstat (limited to 'src/shared/set.c')
-rw-r--r--src/shared/set.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/set.c b/src/shared/set.c
index 20e457eda4..f5c7c37cab 100644
--- a/src/shared/set.c
+++ b/src/shared/set.c
@@ -116,3 +116,7 @@ Set* set_copy(Set *s) {
void set_clear(Set *s) {
hashmap_clear(MAKE_HASHMAP(s));
}
+
+void set_clear_free(Set *s) {
+ hashmap_clear_free(MAKE_HASHMAP(s));
+}