From b8cec4ee2c23ca6984f31f21dfa3aa6632e564a0 Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 6 Feb 2009 18:41:46 +0000 Subject: 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 --- src/map/chat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map') 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; } -- cgit v1.2.3-70-g09d2