> close/free already calls release, so no, unless you had called addRef,
> you should not call both.
> 
> But I have a preference to call close/free instead release.
> 
> The former will really destroy the resource (but not necessary the
> memory allocated by the object - if it has more refs) and the later just
> decrements a reference (and destroy the resources and memory if it has
> no more references).

Hmm. At the moment, I'm calling close/free in IExternalResultSetImpl::dispose 
and I'm getting "invalid handle" error. Too late in the pipeline to release 
that?

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to