mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Found the handle leak! Doh.
This commit is contained in:
parent
0cd3ac06d0
commit
ff2c540e51
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ std::string ResolvePath(const std::string &path) {
|
|||
if (result >= BUF_SIZE || result == 0)
|
||||
wcscpy_s(buf, BUF_SIZE - 1, input.c_str());
|
||||
}
|
||||
CloseHandle(hFile);
|
||||
} else {
|
||||
wchar_t *longBuf = new wchar_t[BUF_SIZE];
|
||||
memset(buf, 0, BUF_SIZE);
|
||||
|
|
Loading…
Add table
Reference in a new issue