On Mon, 05 Mar 2007 07:55:06 +0100
Joachim Zobel <[EMAIL PROTECTED]> wrote:

> I am currently integrating libxml2 into an apache module. Doing this I
> have encountered the problem, that libxml2 tries to free memory that
> apache has allocated (I am using functions that are not really meant
> to be external interfaces). 
> 
> I can however provide my own memmory allocation functions to libxml2,
> so if I can identify apache memory, I can work around this.

Have you looked at wrapping apr_palloc and [do nothing] as malloc
and free respectively?

I have some recollection of contemplating that with libxml2,
but I haven't pursued it.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Reply via email to