Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Question gdome test program: msg#00013

Subject: Re: Question gdome test program
I found memory leak on running bench.c using Numega Bounder Chekcer 6
6144byte                libxml    hash.c Ln105
4                                    parser.c  1202
72                                   entity.c  102
12                                hash.c  101
12                                encoding.c    1618
200                                encoding.c  1660
4                        threads.c  117
32                        gdome-xml-document.c  34


----- Original Message ----- 
From: "Luca Padovani" <lpadovan@xxxxxxxxxxx>
To: <jameshu@xxxxxxxxxx>
Cc: "Gdome mailing list" <gdome@xxxxxxxxx>; <lpadovan@xxxxxxxxxxx>
Sent: Tuesday, December 23, 2003 6:12 PM
Subject: Re: [gdome]Question gdome test program


> Hi,
> 
> On Tue, 2003-12-23 at 09:54, jameshu@xxxxxxxxxx wrote:
> > I compile gdome using VC.
> > And meet a problem when running \test\bench.c
> >  
> > it is broken down in traversal()
> > because the ownerDoc is NULL after call gdome_xml_n_unref
> 
> the test works for me.
> 
> However I see a problem for sure which is the domdoc variable has type
> GdomeDocument but it is casted to GdomeElement for the first call to
> traversal! For some gdome2 magic this should cause no harm but anyway
> I've corrected the code in CVS (see patch attached).
> 
> In case you're still experiencing the problem (likely), would you be
> able to generate a stack trace?
> 
> Cheers,
> -- luca
> 


<Prev in Thread] Current Thread [Next in Thread>