summaryrefslogtreecommitdiff
path: root/src/cmd_whowas.cpp
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-08 00:10:19 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-08 00:10:19 +0000
commit2bd5a5b5a268351e179bea928a44c546a442a1a2 (patch)
tree08aa7adb848ad158a52f15775a6dcee260531515 /src/cmd_whowas.cpp
parent4b75bac97e4bdee5c3ce07e7fa60b3067f9d9f8b (diff)
Now even less leakage on add.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6258 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_whowas.cpp')
-rw-r--r--src/cmd_whowas.cpp1
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();