Subject | Re: [firebird-support] ib_util_malloc vs malloc |
---|---|
Author | Pavel Menshchikov |
Post date | 2005-03-20T16:56:02Z |
Hello,
r> In Helen's excellent tome, she says one must use ib_util_malloc in UDF
r> land.
r> I have been using my own flavor of malloc for years (standard malloc
r> which forces things to 128 byte boundaries due to problems with
r> various OS-s). It works fine in the current firebird 1.5.2 udf land
r> and FREE_IT seems content. However I would like to be sure that I am
r> not violating some secret in the server and that FREE_IT works healthily.
r> Any comments and/or warnings from developers appreciated.
AFAIK, ib_util_malloc calls malloc in turn, and at the time you can
use either former or latter without difficulties.
HTH
--
Best regards,
Pavel Menshchikov
http://www.ls-software.com
r> In Helen's excellent tome, she says one must use ib_util_malloc in UDF
r> land.
r> I have been using my own flavor of malloc for years (standard malloc
r> which forces things to 128 byte boundaries due to problems with
r> various OS-s). It works fine in the current firebird 1.5.2 udf land
r> and FREE_IT seems content. However I would like to be sure that I am
r> not violating some secret in the server and that FREE_IT works healthily.
r> Any comments and/or warnings from developers appreciated.
AFAIK, ib_util_malloc calls malloc in turn, and at the time you can
use either former or latter without difficulties.
HTH
--
Best regards,
Pavel Menshchikov
http://www.ls-software.com