no one saw that

This commit is contained in:
Akash Mozumdar 2018-08-22 12:44:16 -04:00
parent 2a222c4446
commit 4c5814d1a7

View File

@ -2,19 +2,10 @@
#include <QApplication> #include <QApplication>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{
_CrtMemState memStates[100] = {};
_CrtMemCheckpoint(memStates);
{ {
QApplication a(argc, argv); QApplication a(argc, argv);
MainWindow w; MainWindow w;
w.show(); w.show();
return a.exec;
a.exec();
}
_CrtMemCheckpoint(memStates + 1);
if (_CrtMemDifference(memStates + 2, memStates + 0, memStates + 1))
_CrtMemDumpStatistics(memStates + 2);
return 0;
} }