From de34dbaeea502ee16802ce708e27d4882b6c8afe Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 9 Apr 2013 02:22:46 -0300 Subject: Fixed channel destroy not deleting database iterator All credits to lighta for finding and letting me know, thanks! Signed-off-by: shennetsind --- src/map/clif.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index 745f90e68..56fdb4193 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10286,6 +10286,7 @@ void clif_hercules_chsys_delete(struct hChSysCh *channel) { } } } + dbi_destroy(iter); } db_destroy(channel->users); if( channel->m ) { -- cgit v1.2.3-70-g09d2