Hello,
While debugging my code using glib, libxml and gdome, both compiled with
memory pools disabled and in a garbage collector friendly way, I found that
some Gdome functions misuse g_free() instead of xmlFree().
Main problem is using gdome_str_mkref_own() with libxml returned values. Since
libxml have its own memory stuff it fails when using glib g_free(). I just
replaced them with gdome_str_mkref_xml(), which will use xmlFree() instead of
g_free().
Attached is the patch to fix issues I have encountered so far.
Both 0.8.1 and CVS have the same problem.
--
Gustavo Sverzut Barbieri
------------------------
Instituto Nokia de Tecnologia - INdT
Jabber: barbieri@xxxxxxxxx
MSN: barbieri@xxxxxxxxx
ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Phone: +1 (347) 624 6296; 08122692@xxxxxxxxxxxxxxxxxx
GPG: 0xB640E1A2 @ wwwkeys.pgp.net
gdome2-cvs-xmlFree.patch
Description: Text Data
gdome2-0.8.1-xmlFree.patch
Description: Text Data
_______________________________________________
gdome mailing list
gdome@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gdome
|