Commit 23b320e6 authored by James Hatheway's avatar James Hatheway Committed by Alexandre Julliard

Silence unneeded exception to allow easier ACM debugging.

parent bcf393a5
...@@ -147,7 +147,7 @@ PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj, DWORD type) ...@@ -147,7 +147,7 @@ PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj, DWORD type)
{ {
PWINE_ACMOBJ pao = (PWINE_ACMOBJ)hObj; PWINE_ACMOBJ pao = (PWINE_ACMOBJ)hObj;
if (IsBadReadPtr(pao, sizeof(WINE_ACMOBJ)) || if (pao == NULL || IsBadReadPtr(pao, sizeof(WINE_ACMOBJ)) ||
((type != WINE_ACMOBJ_DONTCARE) && (type != pao->dwType))) ((type != WINE_ACMOBJ_DONTCARE) && (type != pao->dwType)))
return NULL; return NULL;
return pao; return pao;
......
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