mirror of
https://github.com/reactos/reactos.git
synced 2026-06-05 19:43:39 +08:00
[RAPPS] Don't leak handle on success
CID 1419256
This commit is contained in:
@@ -297,6 +297,7 @@ BOOL CAvailableApps::UpdateAppsDB()
|
||||
hFind = FindFirstFileW(m_szSearchPath.GetString(), &FindFileData);
|
||||
if (hFind != INVALID_HANDLE_VALUE)
|
||||
{
|
||||
FindClose(hFind);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user