From 2bd5a5b5a268351e179bea928a44c546a442a1a2 Mon Sep 17 00:00:00 2001 From: peavey Date: Mon, 8 Jan 2007 00:10:19 +0000 Subject: Now even less leakage on add. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6258 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_whowas.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/cmd_whowas.cpp b/src/cmd_whowas.cpp index ee18b8079..d5f2353b2 100644 --- a/src/cmd_whowas.cpp +++ b/src/cmd_whowas.cpp @@ -170,6 +170,7 @@ void cmd_whowas::AddToWhoWas(userrec* user) n->pop_front(); } } + DELETE(n); whowas.erase(iter); } whowas_fifo.pop_front(); -- cgit v1.2.3