chiark / gitweb /
load-fragment: a few modernizations
[elogind.git] / src / shared / set.c
index 20e457e..f5c7c37 100644 (file)
@@ -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));
+}