From 5f81afb39e9c05dd73a1c03a352601b34a8c5c58 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Mar 2011 19:56:20 +0000 Subject: Wow, I feel...wow, like a total idiot. I forgot to cleanup list items. --- src/list.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/list.cpp b/src/list.cpp index 3e871d6..d15f3b9 100644 --- a/src/list.cpp +++ b/src/list.cpp @@ -15,6 +15,10 @@ Gats::List::List() Gats::List::~List() { + for( iterator i = begin(); i; i++ ) + { + delete *i; + } } void Gats::List::write( Bu::Stream &rOut ) const -- cgit v1.2.3