Commit 48038508 authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

shell32: Free original_dos_name with correct function in TRASH_GetDetails() (Coverity).

parent fb5cd3cf
......@@ -662,7 +662,7 @@ static HRESULT TRASH_GetDetails(const TRASH_BUCKET *bucket, LPCSTR filename, WIN
if (original_dos_name != NULL)
{
lstrcpynW(data->cFileName, original_dos_name, MAX_PATH);
SHFree(original_dos_name);
heap_free(original_dos_name);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment