Issue Details (XML | Word | Printable)

Key: CORE-2002
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Claudio Valderrama C.
Reporter: Claudio Valderrama C.
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

Conversion error from UDF result causes memory leak if the result is marked with FREE_IT

Created: 18/Jul/08 02:00 AM   Updated: 08/Nov/09 07:10 PM
Component/s: Engine
Affects Version/s: 1.0.3, 2.0.0, 1.5.4, 2.0.1, 2.1 Alpha 1, 2.1 Beta 1, 2.0.2, 2.0.3, 2.1 Beta 2, 1.5.5, 2.1 RC1, 2.5 Initial, 2.1 RC2, 2.1.0, 2.0.4
Fix Version/s: 2.5 Beta 1

Environment: Platform independent.

 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.