Re: [xml] valgrind complains about "still reachable"



Hi!

It seems xmlCleanupParser only cleans up if you call xmlInitParser first. If you
add a call to the latter in the beginning of your code, all Valgrind errors seem
to be gone.

Whether that's the intended behavior of libxml2 or not, I don't know.

-- 
Adiel Mittmann



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