mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Fixed one more server crash.
This commit is contained in:
parent
bbd9d5617d
commit
27b847be03
@ -1282,6 +1282,7 @@ static void end_blob( ICC icc, P_OP operation)
|
|||||||
**************************************/
|
**************************************/
|
||||||
IBL blob;
|
IBL blob;
|
||||||
ISC_STATUS_ARRAY status_vector;
|
ISC_STATUS_ARRAY status_vector;
|
||||||
|
ISC_STATUS result;
|
||||||
UCHAR *buffer;
|
UCHAR *buffer;
|
||||||
USHORT length;
|
USHORT length;
|
||||||
ips_object *ips;
|
ips_object *ips;
|
||||||
@ -1313,10 +1314,11 @@ static void end_blob( ICC icc, P_OP operation)
|
|||||||
// perform operation, send response and free resources
|
// perform operation, send response and free resources
|
||||||
|
|
||||||
if (operation == op_close_blob)
|
if (operation == op_close_blob)
|
||||||
GDS_CLOSE_BLOB(status_vector, &blob->ibl_handle);
|
result = GDS_CLOSE_BLOB(status_vector, &blob->ibl_handle);
|
||||||
else
|
else
|
||||||
GDS_CANCEL_BLOB(status_vector, &blob->ibl_handle);
|
result = GDS_CANCEL_BLOB(status_vector, &blob->ibl_handle);
|
||||||
send_response(icc, status_vector);
|
send_response(icc, status_vector);
|
||||||
|
if (!result)
|
||||||
release_blob(blob);
|
release_blob(blob);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user