dmloader: Fix sizeof statement (coverity).
This commit is contained in:
parent
e15618a896
commit
295ffdfa96
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue