summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-22 17:06:03 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-22 17:06:03 +0000
commit93344af48f44a7a3e535831318fe9c991a015ed4 (patch)
tree7b583bf6ad5430b403ac1e5578b5f19cd4ec3283 /src/map
parent7b595ae429f84872a3004e24ee74ffe905500f22 (diff)
downloadhercules-93344af48f44a7a3e535831318fe9c991a015ed4.tar.gz
hercules-93344af48f44a7a3e535831318fe9c991a015ed4.tar.bz2
hercules-93344af48f44a7a3e535831318fe9c991a015ed4.tar.xz
hercules-93344af48f44a7a3e535831318fe9c991a015ed4.zip
Fixed @whomap not unlocking the player db (bug in r12204)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12231 54d463be-8e91-2dee-dedb-b68131a5f0ec
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'.