Show
Ignore:
Timestamp:
07/03/08 16:03:58 (5 months ago)
Author:
ruoso
Message:

[smop] some more work in p6opaque, delegation almost working... I need to finish the "setting how" method, so I can effectively test the delegation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • v6/smop/src/native_capture.c

    r20478 r21182  
    5050  if (identifier == SMOP__ID__new) { 
    5151    ret = smop_native_empty_capture; 
     52    SMOP_RELEASE(interpreter,capture); 
     53  } else if (identifier == SMOP__ID__invocant) { 
     54    SMOP__Object* invocant_capture = SMOP__NATIVE__capture_invocant(interpreter, capture); 
     55    ret = SMOP__NATIVE__capture_invocant(interpreter, invocant_capture); 
     56    SMOP_RELEASE(interpreter, invocant_capture); 
    5257    SMOP_RELEASE(interpreter,capture); 
    5358  } else if (identifier == SMOP__ID__DESTROYALL) {