shell32: Use a proper deallocator (Coverity).
This commit is contained in:
parent
0cb52a9cfa
commit
3cadbbb4b0
|
@ -562,7 +562,7 @@ static HDPA enum_bucket_trashinfos(const TRASH_BUCKET *bucket, int *count)
|
|||
goto failed;
|
||||
if (DPA_InsertPtr(ret, DPA_APPEND, filename) == -1)
|
||||
{
|
||||
SHFree(filename);
|
||||
LocalFree(filename);
|
||||
goto failed;
|
||||
}
|
||||
(*count)++;
|
||||
|
|
Loading…
Reference in New Issue