From cc5a63d732003dcf54b4f6c8765c7c4a58cc2d26 Mon Sep 17 00:00:00 2001 From: JamDog Date: Sun, 5 Apr 2009 21:42:03 +0000 Subject: [PATCH] Bug-Fix: Frees memory used by qedit and hedit when closing socket (thanks Xiuhtecuhtli) --- changelog | 2 ++ src/comm.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/changelog b/changelog index c462142..cbcac02 100644 --- a/changelog +++ b/changelog @@ -34,6 +34,8 @@ OLC copy and delete options. export (QQ's a zone into a tarball)t Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist) (lots of major bugfixes too) +[Apr 05 2009] - Jamdog + Bug-Fix: Now frees memory used by qedit and hedit when closing a socket (Thanks Xiuhtecuhtli) tbaMUD 3.59 [Apr 05 2009] - Rumble Updated World and files for 3.59 release. diff --git a/src/comm.c b/src/comm.c index 4f3c1ae..1fdee89 100644 --- a/src/comm.c +++ b/src/comm.c @@ -2118,6 +2118,8 @@ void close_socket(struct descriptor_data *d) case CON_TEDIT: case CON_TRIGEDIT: case CON_AEDIT: + case CON_HEDIT: + case CON_QEDIT: cleanup_olc(d, CLEANUP_ALL); break; default: