Commit 295ffdfa authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

dmloader: Fix sizeof statement (coverity).

parent e15618a8
......@@ -767,7 +767,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_ReleaseObjectByU
TRACE("(%p, %p)\n", This, pObject);
if (IsBadReadPtr (pObject, sizeof(LPUNKNOWN))) {
if (IsBadReadPtr (pObject, sizeof(*pObject))) {
ERR(": pObject bad write pointer\n");
return E_POINTER;
}
......
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