Fixed a handle leak.

This commit is contained in:
Ramon Novoa 2014-10-10 12:54:31 +02:00
parent abcc67055f
commit fed569b883
1 changed files with 1 additions and 0 deletions

View File

@ -1464,6 +1464,7 @@ Pandora_Module::evaluateConditions () {
}
WaitForSingleObject(pi.hProcess, this->module_timeout);
CloseHandle (pi.hProcess);
CloseHandle (pi.hThread);
}
}
}