Subject | RE: [firebird-support] UDF or/and maybe Charset problem |
---|---|
Author | Rudi Feijó |
Post date | 2017-08-24T13:07Z |
>You must use ib_util_malloc() to allocate memory in UDF and don't forget FREE_IT in declaration to avoid memory leak.Dimitry, on a similar question, is there any problems if I just declare all UDF's with FREE IT?
We use dozens of UDF's, but only half of them are declared as FREE IT, and I have no way of knowing which ones should be freeing memory or not