[wx 2.6.2, GTK+ 2, GCC 4.1.0] Memory leaks
Vadim Zeitlin
vadim at wxwindows.org
Thu Oct 5 10:32:33 PDT 2006
On Thu, 05 Oct 2006 19:13:11 +0200 Dan Matìjka <Dan.Matejka at volny.cz> wrote:
DM> Hi, I started today with wxWindows. I get folowing example from a
DM> tutorial. After that I run the program with valgrind and get folowing
DM> output. It's a quite big memory leak for so simple program. Am I
DM> forgetting to run some command or it is a failure of wxWindows?
There really shouldn't be any memory leaks in this program (which looks
just like the minimal sample, it would be better if you ran the sample
itself under valgrind). I really don't know why do you get leak reports,
I'm not knowledgeable enough about valgrind to explain it, all I can say is
that the last time I ran it I didn't see anything like this. Maybe you
should use its "-v" option to better see what's going on.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list