Keep modified qrenderdoc arguments around until end of execution

This commit is contained in:
baldurk
2016-09-20 12:01:09 +02:00
parent 953ebe0389
commit e3cf86fba2
+5 -3
View File
@@ -73,9 +73,11 @@ int main(int argc, char *argv[])
QApplication a(argc, argv_mod);
delete[] argv_mod;
Core core(filename, remoteHost, remoteIdent, temp);
return a.exec();
int ret = a.exec();
delete[] argv_mod;
return ret;
}