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



It doesn't appear as though all the messages are making it to the mailing
list...  Re-forwarding.

Forwarding...
-------------------------
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)

z.xsl

utils.diff



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