On Jun 27, 2007, at 7:33 PM, Alfred Van Hoek wrote:

>
> Based on the notion that the retInstance comes from the RB
> environment, we really should not unlock it because once the event/
> interface method goes out of scope, RB will reduce the refcount on
> the retInstance,  right?

No, the event has already exited, and there is no further cleanup to  
be done. Both objects stored in byref parameters and return values  
must be unlocked to prevent leaking.

HTH,
Jon
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to