nanogui: XCreateWindow/XDestroyWindow memory leak?
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