How can I free externally allocated buffers ?

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi list.

I'm trying to use libXML for XML parsing, but some of the functions
there allocate memory for me (char* strings) and require me to free
them. but calling gw_free() on memory not allocated with gw_malloc()
will cause a panic, and I cannot call free() directly.

Is there a simple way to solve this problem ?

--
Oded Arbel
m-Wise Inc.
[email protected]

"Frankly, I'm not sure people have the brains to manage the technology
they've GOT."
	-- Calvin and Hobbes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.