From 6ce33fd36eaaebfe3df5d262785ab2fe74499252 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 25 Jul 2003 02:32:45 +0000 Subject: "" svn path=/trunk/; revision=797 --- externals/grill/flext/source/flext.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'externals/grill/flext/source/flext.cpp') 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; -- cgit v1.2.1