summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/mapindex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c
index a95e143c3..1d2569afe 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -179,6 +179,7 @@ int mapindex_init(void) {
}
int mapindex_removemap(int index){
+ strdb_remove(mapindex_db, indexes[index].name);
indexes[index].name[0] = '\0';
return 0;
}