[xml] Re: Null prefix namespaces not cloned



Hi,

It seems that my previous patch caused a memory leak, as a consequence of
passing NULL to xmlNewNs. The solution seems to be to pass ret instead of NULL
in the call to xmlNewNs in the else block.

Best regards,
Andrew Miller


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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