diff options
-rw-r--r-- | src/list.cpp | 4 |
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 | ||
16 | Gats::List::~List() | 16 | Gats::List::~List() |
17 | { | 17 | { |
18 | for( iterator i = begin(); i; i++ ) | ||
19 | { | ||
20 | delete *i; | ||
21 | } | ||
18 | } | 22 | } |
19 | 23 | ||
20 | void Gats::List::write( Bu::Stream &rOut ) const | 24 | void Gats::List::write( Bu::Stream &rOut ) const |