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

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