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, 2 insertions, 0 deletions
diff --git a/src/map.c b/src/map.c
index edfb38a..8f6298f 100644
--- a/src/map.c
+++ b/src/map.c
@@ -1096,6 +1096,8 @@ map_done(struct plugin_state *state)
free(names);
names = next;
}
+ wrap_free_rwlock(map_data.lock);
+ map_data.lock = NULL;
}
void