5 Oct
2004
5 Oct
'04
7:52 a.m.
@@ -163,10 +163,10 @@ else ret = (SHNotifyDeleteFileA(szTemp) == ERROR_SUCCESS); } while (ret && FindNextFileA(hFind, &wfd)); + FindClose(hFind); + if (ret) + ret = (SHNotifyRemoveDirectoryA(pszDir) == ERROR_SUCCESS); } - FindClose(hFind); - if (ret) - ret = (SHNotifyRemoveDirectoryA(pszDir) == ERROR_SUCCESS); return ret; }
This create a FindFile handle leak if the user chooses to abort the delete operation. Rolf Kalbermatter
7739
Age (days ago)
7739
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rolf Kalbermatter