From 28c2e83cc4a1c83528c9bdfd3b7f0c2e4cf71016 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Mon, 18 May 2015 16:48:24 +0200 Subject: [PATCH] actually call moddata_free_client() :) --- src/s_misc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/s_misc.c b/src/s_misc.c index dcdce501e..25ce38a9e 100644 --- a/src/s_misc.c +++ b/src/s_misc.c @@ -563,6 +563,9 @@ static void exit_one_client(aClient *sptr, const char *comment) */ if (!MyConnect(sptr)) unrealdns_delreq_bycptr(sptr); + + /* Free module related data for this client */ + moddata_free_client(sptr); } /* Remove sptr from the client list */