Commit 52db965d authored by Victor Poughon's avatar Victor Poughon

Fix coverity #1420746

parent d8b4d26d
......@@ -109,7 +109,7 @@ int main(int argc, char* argv[])
int ret = qtApp.exec();
// Clean resources
if (mainWindow) delete mainWindow;
delete mainWindow;
app = ITK_NULLPTR;
ApplicationRegistry::CleanRegistry();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment