diff options
Diffstat (limited to 'src/shared/set.c')
-rw-r--r-- | src/shared/set.c | 4 |
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)); +} |