summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();