--- In [email protected], "brucexs" <bswit...@...> wrote:
> Note sure if you are referring to realloc of lists of classes (CLASS**) > versus realloc of class info for specific a specific class (CLASS*). If so, > yes the alloc's are different. No, referring to pcl = (CLASS*) realloc(pcl, sizeof(CLASS)+strlen(szargs[1])+1+ strlen(szScriptPath)+1+strlen(szName)+1+lenVars+lenFunc+1); vs pcl = (CLASS*) malloc( sizeof(CLASS)+strlen(szargs[1])+1+ strlen(szScriptPath)+strlen(szName)+1+lenVars+lenFunc+1); later on. Note extra +1 after strlen(szScriptPath). Also, just make sure we're on same hymn sheet: class.c got dated 18/03/2009. Same as yours? Also, realise I probably should add a simple change to vec.c, in preparation for handing SAFEARRAYs in COM plugin. Okay to make it and send?
