You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UCHAR* data = FB_NEW_POOL(*getDefaultMemoryPool()) UCHAR[static_cast<size_t>(array_desc->iad_total_length)];
Bricks for reproducing this problem:
DECLARE EXTERNAL FUNCTION MY_UDF__GET_DIM
INTEGER BY SCALAR_ARRAY
RETURNS INTEGER BY VALUE
ENTRY_POINT 'fn_get_dim__i4__sa'
MODULE_NAME 'lcpi.test.udf.01.dll'select MY_UDF__GET_DIM(cast('12311111111111111111111111111111111111111111111111111111111111111111111111111111111'as blob)) from rdb$database
Memory releases after disconnect.
The text was updated successfully, but these errors were encountered:
FB v4.0.4.2988
If this line throws
firebird/src/jrd/fun.epp
Line 1018 in 9591891
you do not release the allocated memory in 'data'
firebird/src/jrd/fun.epp
Line 1005 in 9591891
Bricks for reproducing this problem:
Memory releases after disconnect.
The text was updated successfully, but these errors were encountered: