diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-08 00:10:19 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-08 00:10:19 +0000 |
commit | 2bd5a5b5a268351e179bea928a44c546a442a1a2 (patch) | |
tree | 08aa7adb848ad158a52f15775a6dcee260531515 | |
parent | 4b75bac97e4bdee5c3ce07e7fa60b3067f9d9f8b (diff) |
Now even less leakage on add.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6258 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/cmd_whowas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |