summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/atcommand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 13bbb5ef0..727ab8bf0 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -958,6 +958,7 @@ int atcommand_whomap(const int fd, struct map_session_data* sd, const char* comm
clif_displaymessage(fd, atcmd_output);
count++;
}
+ mapit_free(iter);
if (count == 0)
sprintf(atcmd_output, msg_txt(54), map[map_id].name); // No player found in map '%s'.