comparison ui/installwrapper.cpp @ 387:32309299bec9

Always return after error
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Apr 2014 19:03:06 +0200
parents 72487438a180
children a507e5f1b999
comparison
equal deleted inserted replaced
386:cc1738b398a0 387:32309299bec9
124 } else { 124 } else {
125 char* errmsg = getLastErrorMsg(); 125 char* errmsg = getLastErrorMsg();
126 QString qerrmsg = QString::fromUtf8(errmsg); 126 QString qerrmsg = QString::fromUtf8(errmsg);
127 free(errmsg); 127 free(errmsg);
128 emit error (tr("Failed to check process status: %1").arg(qerrmsg)); 128 emit error (tr("Failed to check process status: %1").arg(qerrmsg));
129 CloseHandle(shExecInfo.hProcess);
130 return;
129 } 131 }
130 CloseHandle(shExecInfo.hProcess); 132 CloseHandle(shExecInfo.hProcess);
131 133
132 if (retval != 0) { 134 if (retval != 0) {
133 /* TODO make this nicer */ 135 /* TODO make this nicer */

http://wald.intevation.org/projects/trustbridge/