httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: How to identify apache memory
Date Mon, 05 Mar 2007 17:23:16 GMT
On Mon, 05 Mar 2007 07:55:06 +0100
Joachim Zobel <jzobel@heute-morgen.de> 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/

Mime
View raw message