~jerstlouis/ecere/master

« back to all changes in this revision

Viewing changes to compiler/eccss/eccss.ec

  • Committer: Jerome St-Louis
  • Date: 2020-08-12 19:26:32 UTC
  • Revision ID: git-v1:d58fef793d25b60db8f47b6b7849aedf8ff2e337
compiler/eccss: Fixed memory leaks on headless classes instances, e.g. Fill and Struct

Show diffs side-by-side

added added

removed removed

Lines of Context:
784
784
                        else if(destType.type == noHeadClass)
785
785
                        {
786
786
                           // TODO: base classes destructors?
 
787
                           /*
787
788
                           if(destType.Destructor)
788
789
                              destType.Destructor((void *)(uintptr)val.i);
789
790
                           eSystem_Delete((void *)(uintptr)val.i);
 
791
                           */
790
792
                        }
791
793
 
792
794
                        //if we're freeing these Instances later, is it then the case that