diff options
Diffstat (limited to 'src/paramproc.cpp')
-rw-r--r-- | src/paramproc.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/paramproc.cpp b/src/paramproc.cpp index 8317823..f44eaa3 100644 --- a/src/paramproc.cpp +++ b/src/paramproc.cpp | |||
@@ -113,6 +113,18 @@ ParamProc::ParamProc() | |||
113 | 113 | ||
114 | ParamProc::~ParamProc() | 114 | ParamProc::~ParamProc() |
115 | { | 115 | { |
116 | for( std::list<ArgSpec *>::iterator i = lArg.begin(); | ||
117 | i != lArg.end(); i++ ) | ||
118 | { | ||
119 | delete *i; | ||
120 | } | ||
121 | |||
122 | for( std::list<Banner *>::iterator i = lBan.begin(); | ||
123 | i != lBan.end(); i++ ) | ||
124 | { | ||
125 | delete *i; | ||
126 | } | ||
127 | |||
116 | } | 128 | } |
117 | /* | 129 | /* |
118 | void ParamProc::addParam( const char *lpWord, char cChar, Proc proc, ParamPtr val ) | 130 | void ParamProc::addParam( const char *lpWord, char cChar, Proc proc, ParamPtr val ) |