mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 14:03:03 +01:00
Fixed leak, found by Claudio. Fixed diagnostics.
This commit is contained in:
parent
4a33ca48c2
commit
931b31c444
@ -422,7 +422,8 @@ public:
|
||||
|
||||
if (!checkCount(status, &upCount, isc_info_update_count))
|
||||
{
|
||||
return -1;
|
||||
stmt->release();
|
||||
return GsecMsg22;
|
||||
}
|
||||
|
||||
stmt->free(status);
|
||||
@ -458,7 +459,8 @@ public:
|
||||
|
||||
if (!checkCount(status, &delCount, isc_info_delete_count))
|
||||
{
|
||||
return -1;
|
||||
stmt->release();
|
||||
return GsecMsg22;
|
||||
}
|
||||
|
||||
stmt->free(status);
|
||||
|
Loading…
Reference in New Issue
Block a user