Re: [xslt] Possible Memory Leak found



Mike Hommey said:
> Hi,
>
> William M. Brack wrote:
>> Hi Mike,
>>
>>   If a problem is reproducible with xsltproc, it's only necessary
>> to
>> provide a sample file which triggers the problem.  You can either
>> post that directly to this list, or (if you prefer) open a bug
>> report.  In either case, I can assure you there will be a prompt
>> investigation and response (we take memory leaks *very*
>> seriously).
>
>
> Okay, so, attached to this mail is a reduced test case (I removed a
> lot
> of things, but kept things so that the same amount of memory is
> leaked
> as with the full XSLT file.)
> I didn't have time yet to test with libxslt 1.1.4, so I still don't
> know
> if it has been already fixed or not.
>
> Cheers
>
> Mike

With the information you sent, I was able to quickly find the
problem.  The leak was actually caused by libxml2/xpath.c, related
to the language attribute.  I have fixed that routine, and the
corrected source is in CVS.

Thanks for the report.

Bill




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