Re: [xslt] fix for set:distinct()



On Wed, Apr 09, 2003 at 11:06:40AM -0600, Vakoc, Mark wrote:
> Possible double free error fixed.  Attached is a patch and a testcase.

  Right, but there is still a memory leak <grin/> ... apparently
an RTF containing just <p/> is not freed, I need to investigate

paphio:~/XSLT/tests/general -> xsltproc ./bug-116.xsl ./../docs/bug-116.xml
<?xml version="1.0"?>
<results/>
paphio:~/XSLT/tests/general -> cat .memdump
      10:12:05 PM

      MEMORY ALLOCATED : 157, MAX was 27171
BLOCK  NUMBER   SIZE  TYPE
0         632      2 malloc()  in none(0) "p"
1         631     52 malloc()  in none(0) pointer to #632 at index 8
2         630     19 malloc()  in none(0) " fake node libxslt"
3         629      4 malloc()  in none(0) "1.0"
4         628     80 malloc()  in none(0) pointer to #630 at index 8
paphio:~/XSLT/tests/general ->

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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