Re: [xslt] FW: [PATCH] fix crash/memory leak in xslCallTemplateComp



Good catch - I've applied it to CVS, and also changed the error
message to include the namespace (when present).

Thanks,

Bill

Mark_Vakoc@peoplesoft.com said:
> I pulled down the CVS head and found that wbrack mostly already
> fixed this
> although there was still one problem with the xsltGetQNameURI2 api
> that
> caused the attached test case to still fail.
>
> New patch attached
>
>
> Forwarding...
> Monday, March 15, 2004 4:25 PM
> To: xslt@gnome.org
> cc:
> From: Mark Vakoc/PeopleSoft@PEOPLESOFT
> Subject: [PATCH] fix crash/memory leak in xslCallTemplateComp
>
>
>
> The attached stylesheet exhibits a crash due to the recent
> dictionary
> integration into libxslt.  The patch to xsltGetQNameURI fixes an
> xmlFree
> call to a dictionaried string.  The changes to xsltCallTemplateComp
> fix a
> memory leak discovered after the first fix.
>
> Note:  this dictionary stuff is rather new to me so this may not be
> the
> correct patch...
>
> (See attached file: z.xsl)
> (See attached file: dict.diff)
> (See attached file: z.xsl)
> (See attached file: utils.diff)
>




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