Subject Re: [Firebird-Architect] Check output parameters' value on input
Author Dimitry Sibiryakov
14.10.2010 9:04, Dmitry Yemanov wrote:
> Dimitry Sibiryakov wrote:
>> Do anybody know the reason why output parameters (such as transaction handle in
>> isc_start_transaction) are required to be NULL on input?
> Maybe to prevent a resource leak (in the best case) if the user has
> mistakenly passed the active handle as the output?

My thread in firebird-devel about possible resource leak ended with resolution "forget
it, resources will be freed on transaction end anyway". So, why to care in this case? All
active handles will be freed some time.