summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-09 02:22:46 -0300
committershennetsind <ind@henn.et>2013-04-09 02:22:46 -0300
commitde34dbaeea502ee16802ce708e27d4882b6c8afe (patch)
tree65bb7c5dab46f9bea8f2372744906436c21258a7
parent39799c4d0a5a9e523b0830f028f8aafb20744ba7 (diff)
downloadhercules-de34dbaeea502ee16802ce708e27d4882b6c8afe.tar.gz
hercules-de34dbaeea502ee16802ce708e27d4882b6c8afe.tar.bz2
hercules-de34dbaeea502ee16802ce708e27d4882b6c8afe.tar.xz
hercules-de34dbaeea502ee16802ce708e27d4882b6c8afe.zip
Fixed channel destroy not deleting database iterator
All credits to lighta for finding and letting me know, thanks! Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/clif.c1
1 files changed, 1 insertions, 0 deletions
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 ) {