8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Fixed one more server crash.

This commit is contained in:
dimitr 2003-12-24 15:09:23 +00:00
parent bbd9d5617d
commit 27b847be03

View File

@ -1282,6 +1282,7 @@ static void end_blob( ICC icc, P_OP operation)
**************************************/
IBL blob;
ISC_STATUS_ARRAY status_vector;
ISC_STATUS result;
UCHAR *buffer;
USHORT length;
ips_object *ips;
@ -1313,11 +1314,12 @@ static void end_blob( ICC icc, P_OP operation)
// perform operation, send response and free resources
if (operation == op_close_blob)
GDS_CLOSE_BLOB(status_vector, &blob->ibl_handle);
result = GDS_CLOSE_BLOB(status_vector, &blob->ibl_handle);
else
GDS_CANCEL_BLOB(status_vector, &blob->ibl_handle);
result = GDS_CANCEL_BLOB(status_vector, &blob->ibl_handle);
send_response(icc, status_vector);
release_blob(blob);
if (!result)
release_blob(blob);
}