nanogui: XCreateWindow/XDestroyWindow memory leak?


Previous by date: 12 Nov 2007 22:16:55 +0000 Regarding JIS Support.., Prashanth Dwarakanath
Next by date: 12 Nov 2007 22:16:55 +0000 Re: XCreateWindow/XDestroyWindow memory leak?, Greg Haerr
Previous in thread:
Next in thread: 12 Nov 2007 22:16:55 +0000 Re: XCreateWindow/XDestroyWindow memory leak?, Greg Haerr

Subject: XCreateWindow/XDestroyWindow memory leak?
From: "Martin Kajdas" ####@####.####
Date: 12 Nov 2007 22:16:55 +0000
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC24F9938@mkmail.MKPROD.COM>

I have a FLTK program that works with microwin + nxlib and every time I
create and destroy a window, I lose few hundred bytes of heap memory.
This memory loss becomes significant and unacceptable after many window
operations.

Initially, I blamed it on FLTK but after debugging it for a while, I
conclude (?) that the problem is with nxlib.

I can see a FIXME message in DestWind.c to destroy various structures
associated with a window.
This would explain my problem if I knew what structures are involved.

Any hints so I can fix this problem?
Martin

Previous by date: 12 Nov 2007 22:16:55 +0000 Regarding JIS Support.., Prashanth Dwarakanath
Next by date: 12 Nov 2007 22:16:55 +0000 Re: XCreateWindow/XDestroyWindow memory leak?, Greg Haerr
Previous in thread:
Next in thread: 12 Nov 2007 22:16:55 +0000 Re: XCreateWindow/XDestroyWindow memory leak?, Greg Haerr


Powered by ezmlm-browse 0.20.