Conversion error from UDF result causes memory leak if the result is marked with FREE_IT [CORE2002] #2439
Labels
affect-version: 1.0.3
affect-version: 1.5.4
affect-version: 1.5.5
affect-version: 2.0.0
affect-version: 2.0.1
affect-version: 2.0.2
affect-version: 2.0.3
affect-version: 2.0.4
affect-version: 2.1 Alpha 1
affect-version: 2.1 Beta 1
affect-version: 2.1 Beta 2
affect-version: 2.1 RC1
affect-version: 2.1 RC2
affect-version: 2.1.0
affect-version: 2.5 Initial
component: engine
fix-version: 2.5 Beta 1
priority: minor
type: bug
Submitted by: Claudio Valderrama C. (robocop)
Assigned to: Claudio Valderrama C. (robocop)
Due to the way the UDF code works, if a conversion error happens, the deallocation code for UDF results marked as FREE_IT isn't executed. Until FB2.1, this is a memory leak in the C++ allocator. In FB2.5, it's a memory leak in the default memory pool.
Commits: 2c19423
The text was updated successfully, but these errors were encountered: