Hi,,
 
Now I use xmlFree in my application.
And I found xmlFree is mapped to xmlMemFree() or free() in globals.c
 
I compiled libxml2 library as following.
./configure --with-threads
make
make install
 
Then I copied the libxml2.so.2.6.31 from /usr/local/lib to /usr/lib.
And I tracked the operation of xmlFree in my program with GDB.
And I found xmlFree is mapped to free() in my case.
 
So, I added 
#define DEBUG_MEMORY_LOCATION 1 in /include/libxml/globals.h
 
Then I could see xmlFree is mapped to xmlMemFree() instead of free().
But I don't think this is not proper methodology to use xmlMemFree() instead of 
free().
Can I ask what is right way to use xmlMemFree()?
Please give me some recommendations.
 
 
                                     Jason,
_________________________________________________________________
MSN 메신저의 차세대 버전, Windows Live Messenger!
http://windowslive.msn.co.kr/wlm/messenger/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to