[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 *". S

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 xmlNewDo

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 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 that the cl