[xml] How to properly free a string allocated by xmlCharStrdup

2013-12-26 Thread Shlomi Fish
Hi all, happy holidays and a happy new (civil) year. I'm the maintainer of XML::LibXSLT which are the CPAN bindings for libxslt. Now, someone reported that the clang compiler emits some warnings, and part of the problem was that I passed 1.0 to xmlNewDoc instead of its equivalent xmlChar *. So I

Re: [xml] How to properly free a string allocated by xmlCharStrdup

2013-12-26 Thread Nikolay Sivov
On 12/26/2013 14:19, Shlomi Fish wrote: Hi all, happy holidays and a happy new (civil) year. I'm the maintainer of XML::LibXSLT which are the CPAN bindings for libxslt. Now, someone reported that the clang compiler emits some warnings, and part of the problem was that I passed 1.0 to xmlNewDoc

Re: [xml] How to properly free a string allocated by xmlCharStrdup

2013-12-26 Thread Shlomi Fish
Hi Nikolay, On Thu, 26 Dec 2013 14:58:27 +0400 Nikolay Sivov bungleh...@gmail.com wrote: On 12/26/2013 14:19, Shlomi Fish wrote: Hi all, happy holidays and a happy new (civil) year. I'm the maintainer of XML::LibXSLT which are the CPAN bindings for libxslt. Now, someone reported