Przeglądaj źródła

Fixed @whomap not unlocking the player db (bug in r12204)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12231 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 17 lat temu
rodzic
commit
e6ee6f00ff
2 zmienionych plików z 5 dodań i 3 usunięć
  1. 4 3
      Changelog-Trunk.txt
  2. 1 0
      src/map/atcommand.c

+ 4 - 3
Changelog-Trunk.txt

@@ -3,11 +3,12 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
-2007/02/22
+2008/02/22
+	* Fixed @whomap not unlocking the player db (bug in r12204) [ultramage]
 	* Added $(CUSTOM_CFLAGS) into all Makefile.in to provide any custom defs
 	  directly to all sub make files. How to use:
 	  make CUSTOM_CFLAGS='-DSOME_DEF' sql [Lupus]
-2007/02/21
+2008/02/21
 	* Added status_calc_life to properly calculate hp/max_hp as a ratio taking
 	  into accounts overflows (and for now also avoids divisions by 0). Applied
 	  this function around clif.c, mob.c and pet.c
@@ -23,7 +24,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 	  and removed states party_sent/guild_sent.
 	* Removed several of the old login methods/constants/player states which
 	  are no longer needed due to this cleanup. [Skotlex]
-2007/02/19
+2008/02/19
 	* Rev. 12219 Fixed a typo in /map/clif.c (acount_id -> account_id) [L0ne_W0lf]
 	* Forgotten update to the definition of script command 'input'.
 	* Enabled DEBUG_MEMMGR only in DEBUG mode. 

+ 1 - 0
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'.