Hello. I compiled a basic GUI example written with Qt. When I run with valgrind, it tells that there is memory leak. It is stranger, because at each time I run the app, the number of malloc calls are different. Qt seems nondeterministic.
#include <QApplication> #include <QPushButton> int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton hello("Hello world!"); hello.resize(100, 30); hello.show(); return app.exec(); }
You may want to ask this question here:
http://www.qtforum.org/
or on the #qt channel on freenode.net (IRC)
You should use Deleaker or BoundsChecker...