Skip to content
Snippets Groups Projects
Commit a77c7626 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard
Browse files

windowscodecs/tests: Fix a memory leak (Valgrind).

parent 7a32035f
No related branches found
No related tags found
No related merge requests found
......@@ -306,6 +306,8 @@ static HRESULT create_decoder(const void *image_data, UINT image_size, IWICBitma
refcount = IStream_Release(stream);
ok(refcount > 0, "expected stream refcount > 0\n");
}
else
IStream_Release(stream);
return hr;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment