aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flext.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-07-25 02:32:45 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-07-25 02:32:45 +0000
commit6ce33fd36eaaebfe3df5d262785ab2fe74499252 (patch)
treed2df34cbe5bfe9e98ed132c6ca91dc868cfe4782 /externals/grill/flext/source/flext.cpp
parent28cf83a9643aaba7db01cd11137ffcbba4a9a73c (diff)
""
svn path=/trunk/; revision=797
Diffstat (limited to 'externals/grill/flext/source/flext.cpp')
-rw-r--r--externals/grill/flext/source/flext.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flext.cpp b/externals/grill/flext/source/flext.cpp
index b75e5472..a6b651aa 100644
--- a/externals/grill/flext/source/flext.cpp
+++ b/externals/grill/flext/source/flext.cpp
@@ -37,16 +37,19 @@ flext_base::FLEXT_CLASSDEF(flext_base)():
t_classid clid = thisClassId();
clmethhead = ClMeths(clid);
- methhead = new itemarr;
+ methhead = new ItemCont;
bindhead = NULL;
if(procattr) {
// initialize when attribute processing is enabled
- attrhead = new itemarr;
+ attrhead = new ItemCont;
clattrhead = ClAttrs(clid);
+ attrdata = new AttrDataCont;
}
- else
+ else {
attrhead = clattrhead = NULL;
+ attrdata = NULL;
+ }
}
flext_base::~FLEXT_CLASSDEF(flext_base)()
@@ -68,6 +71,7 @@ flext_base::~FLEXT_CLASSDEF(flext_base)()
if(methhead) delete methhead;
if(bindhead) delete bindhead; // ATTENTION: the object must free all memory associated to bindings itself
if(attrhead) delete attrhead;
+ if(attrdata) delete attrdata;
// destroy inlets and outlets and their proxy objects
if(inlist) delete inlist;