Show
Ignore:
Timestamp:
07/04/08 15:39:24 (5 months ago)
Author:
ruoso
Message:

[SMOP] YAY! p6opaque succesfully delegates the methods to the metaclass... including the DESTROYALL call...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • v6/smop/src/p6opaque.sm0p

    r21216 r21218  
    203203        ((SMOP__p6opaque_struct*)invocant)->metadata = NULL; 
    204204        smop_lowlevel_unlock(invocant); 
    205         SMOP_RELEASE(interpreter,m->how); 
    206         free(m); 
     205        if (m) { 
     206          if (m->how) SMOP_RELEASE(interpreter,m->how); 
     207          free(m); 
     208        } 
    207209      } 
    208210