mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix a small resource handle leak.
This commit is contained in:
parent
ef1dc583a2
commit
ab6dd51d9c
1 changed files with 2 additions and 0 deletions
|
@ -182,6 +182,8 @@ UI::EventReturn CwCheatScreen::OnEditCheatFile(UI::EventParams ¶ms) {
|
|||
if (!retval) {
|
||||
ERROR_LOG(COMMON, "Failed creating notepad process");
|
||||
}
|
||||
CloseHandle(pi.hThread);
|
||||
CloseHandle(pi.hProcess);
|
||||
#elif !defined(MOBILE_DEVICE)
|
||||
#if defined(__APPLE__)
|
||||
cheatFile = "open ";
|
||||
|
|
Loading…
Add table
Reference in a new issue