Subject Re: [ib-support] REPOST: Memory management problems with UDF on Firebird
Author Helen Borrie
At 10:52 PM 02-08-02 +0000, you wrote:
>I have a written a UDF in Delphi 3 which concatenates strings,
>using PChars.
>However there seems to be problem with memory allocation.
>When I run the UDF sequentially, some of the results have
>an extra character on them. Further checking reveals that
>the extra characters are from the results of previous calls
>to the UDF whose results have those characters in that position.
>I am using the ib_util.pas include and ib_util.dll.

Are you calling FREE_IT in your declaration of the UDF to the database?


All for Open and Open for All
Firebird Open SQL Database · ·