mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:43:00 +00:00
[CMD]
- fix resource leaks CID 716324, 716323, 716322, 716321, 716320, 716319, 716318 svn path=/trunk/; revision=64871
This commit is contained in:
parent
8d45f7ba25
commit
cd1f57b5d4
4 changed files with 18 additions and 2 deletions
|
@ -382,7 +382,10 @@ BOOL DeleteFolder(LPTSTR FileName)
|
|||
{
|
||||
SetFileAttributes(TempFileName,FILE_ATTRIBUTE_NORMAL);
|
||||
if (!DeleteFile(TempFileName))
|
||||
{
|
||||
FindClose (hFile);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
}while (FindNextFile (hFile, &f));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue