aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flitem.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-01-03 14:11:56 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-01-03 14:11:56 +0000
commit294e6785d6fbb1761fd68e2575f5fa25b148f5b0 (patch)
tree2884bc727de0c8ea59f68fdb814ce2a253a6948e /externals/grill/flext/source/flitem.cpp
parentcdf86b37d6180f5f88393c02d8f5e19e2e645ad6 (diff)
"version 0.4.1"
svn path=/trunk/; revision=318
Diffstat (limited to 'externals/grill/flext/source/flitem.cpp')
-rwxr-xr-xexternals/grill/flext/source/flitem.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flitem.cpp b/externals/grill/flext/source/flitem.cpp
index 271745df..ddcf570b 100755
--- a/externals/grill/flext/source/flitem.cpp
+++ b/externals/grill/flext/source/flitem.cpp
@@ -143,7 +143,7 @@ public:
enum { HASHBITS=7, HASHSIZE=1<<HASHBITS };
_itemarr(flext_obj::t_classid c,int i);
- ~_itemarr(); // will never be called
+ ~_itemarr();
static int Hash(flext_obj::t_classid c,int ix);
@@ -163,6 +163,12 @@ _itemarr::_itemarr(flext_obj::t_classid c,int i):
nxt(NULL)
{}
+_itemarr::~_itemarr()
+{
+ delete arr;
+ if(nxt) delete nxt;
+}
+
void _itemarr::Add(_itemarr *a)
{
if(nxt) nxt->Add(a);