[xml] possible memory leaks in xml library



Hi,
 I am using xml for the first time. It appears to me that there is memory
leak in tree.c/parser.c
xmlStrndup keeps on allocating memory which is never freed. I was wondering
if I need to call some xml function to free the memory allocated by
xmlStrndup in my code. If yes, then what would that function be? Currently,
I do xmlCleanupParser() at the end of every function that calls xml library
routines, but this doesn't seem to help.

Any help would be greatly appreciated.
Thanks
Smita





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]