Subject | Re: [Firebird-Architect] Check output parameters' value on input |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2010-10-14T07:19:41Z |
14.10.2010 9:04, Dmitry Yemanov wrote:
it, resources will be freed on transaction end anyway". So, why to care in this case? All
active handles will be freed some time.
--
SY, SD.
> Dimitry Sibiryakov wrote:My thread in firebird-devel about possible resource leak ended with resolution "forget
>
>> 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?
it, resources will be freed on transaction end anyway". So, why to care in this case? All
active handles will be freed some time.
--
SY, SD.