aboutsummaryrefslogtreecommitdiff
path: root/src/list.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-03-21 19:56:20 +0000
committerMike Buland <eichlan@xagasoft.com>2011-03-21 19:56:20 +0000
commit5f81afb39e9c05dd73a1c03a352601b34a8c5c58 (patch)
tree906d3ceb97ccc99b88c19fc4624756eaea804b96 /src/list.cpp
parentb4573698043c4ad972f7e80e84d0a88af373a53d (diff)
downloadlibgats-5f81afb39e9c05dd73a1c03a352601b34a8c5c58.tar.gz
libgats-5f81afb39e9c05dd73a1c03a352601b34a8c5c58.tar.bz2
libgats-5f81afb39e9c05dd73a1c03a352601b34a8c5c58.tar.xz
libgats-5f81afb39e9c05dd73a1c03a352601b34a8c5c58.zip
Wow, I feel...wow, like a total idiot. I forgot to cleanup list items.
Diffstat (limited to 'src/list.cpp')
-rw-r--r--src/list.cpp4
1 files changed, 4 insertions, 0 deletions
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()
15 15
16Gats::List::~List() 16Gats::List::~List()
17{ 17{
18 for( iterator i = begin(); i; i++ )
19 {
20 delete *i;
21 }
18} 22}
19 23
20void Gats::List::write( Bu::Stream &rOut ) const 24void Gats::List::write( Bu::Stream &rOut ) const