summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-02-06 18:41:46 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-02-06 18:41:46 +0000
commitb8cec4ee2c23ca6984f31f21dfa3aa6632e564a0 (patch)
tree9cf5dcd70ff9b5f377114ff81b9905004616a783 /src/map
parent14fdb9e5df1eec34c56657be842151e3e3137785 (diff)
downloadhercules-b8cec4ee2c23ca6984f31f21dfa3aa6632e564a0.tar.gz
hercules-b8cec4ee2c23ca6984f31f21dfa3aa6632e564a0.tar.bz2
hercules-b8cec4ee2c23ca6984f31f21dfa3aa6632e564a0.tar.xz
hercules-b8cec4ee2c23ca6984f31f21dfa3aa6632e564a0.zip
Yet another fix to r13503 - dangling player chatroom pointer in id_db (bugreport:2750).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13508 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/chat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/chat.c b/src/map/chat.c
index d68864fe1..413a4cf10 100644
--- a/src/map/chat.c
+++ b/src/map/chat.c
@@ -176,6 +176,7 @@ int chat_leavechat(struct map_session_data* sd, bool kicked)
clif_clearchat(cd, 0);
map_delblock(&cd->bl);
map_freeblock(&cd->bl);
+ map_deliddb(&cd->bl);
return 1;
}