shell32: Use a proper deallocator (Coverity).

This commit is contained in:
Nikolay Sivov 2014-04-15 01:53:05 +04:00 committed by Alexandre Julliard
parent 0cb52a9cfa
commit 3cadbbb4b0
1 changed files with 1 additions and 1 deletions

View File

@ -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)++;