summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index c52ce6f..018f820 100644
--- a/src/map.c
+++ b/src/map.c
@@ -1086,7 +1086,7 @@ map_done(struct plugin_state *state)
map_data_foreach_map(state, NULL, map_get_domain_and_map_name, &names);
while (names != NULL) {
next = names->next;
- map_data_clear_map(state, names->domain, names->map);
+ map_data_unset_map(state, names->domain, names->map);
free(names->domain);
free(names->map);
free(names);