Re: Question gdome test program
<[email protected]> Wed, 24 Dec 2003 16:42:15 +0800
| Newsgroups | gmane.comp.gnome.gdome |
|---|---|
| Message-ID | <[email protected]> |
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" <[email protected]> To: <[email protected]> Cc: "Gdome mailing list" <[email protected]>; <[email protected]> Sent: Tuesday, December 23, 2003 6:12 PM Subject: Re: [gdome]Question gdome test program > Hi, > > On Tue, 2003-12-23 at 09:54, [email protected] 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 >