From 3a67168036e1d8e0406c66c3ccf37812228a9524 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 9 Jul 2014 15:00:31 +0200 Subject: core_whowas Delete elements of the per nick deque in the destructor of WhoWas::Nick --- include/commands/cmd_whowas.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/commands') diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h index b058ef37d..2a3fa896c 100644 --- a/include/commands/cmd_whowas.h +++ b/include/commands/cmd_whowas.h @@ -39,6 +39,10 @@ namespace WhoWas /** Container where each element has information about one occurrence of this nick */ whowas_set entries; + + /** Destructor, deallocates all elements in the entries container + */ + ~Nick(); }; } -- cgit v1.2.3