Re: [gdome]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 cs unibo it>
To: <jameshu utstar com>
Cc: "Gdome mailing list" <gdome gnome org>; <lpadovan cs unibo it>
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 utstar com 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
> 



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