mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 07:42:56 +00:00
[RAPPS] Don't leak handle on success
CID 1419256
This commit is contained in:
parent
c274b25c95
commit
b539380dac
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ BOOL CAvailableApps::UpdateAppsDB()
|
||||||
hFind = FindFirstFileW(m_szSearchPath.GetString(), &FindFileData);
|
hFind = FindFirstFileW(m_szSearchPath.GetString(), &FindFileData);
|
||||||
if (hFind != INVALID_HANDLE_VALUE)
|
if (hFind != INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
|
FindClose(hFind);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue