mshtml: Fixed incorrect NULL ptr check (Coverity).

This commit is contained in:
Marcus Meissner 2015-05-20 21:23:20 +02:00 committed by Alexandre Julliard
parent c1079f2571
commit 47086b9aaf
1 changed files with 1 additions and 1 deletions

View File

@ -1408,7 +1408,7 @@ static HRESULT set_event_handler_disp(EventTarget *event_target, eventid_t eid,
return S_OK;
data = get_event_target_data(event_target, TRUE);
if(!event_target)
if(!data)
return E_OUTOFMEMORY;
if(!alloc_handler_vector(data, eid, 0))