dmloader: Fix sizeof statement (coverity).

This commit is contained in:
André Hentschel 2012-11-03 17:26:13 +01:00 committed by Alexandre Julliard
parent e15618a896
commit 295ffdfa96
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}