diff options
Diffstat (limited to 'externals/grill/flext/source/flitem.cpp')
-rwxr-xr-x | externals/grill/flext/source/flitem.cpp | 8 |
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); |