Commit 870598b8 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

mshtml: Remove redundant condition.

parent 9a1d0797
......@@ -2256,7 +2256,7 @@ static DOMEvent *alloc_event(nsIDOMEvent *nsevent, eventid_t event_id)
custom_event->event.destroy = DOMCustomEvent_destroy;
event = &custom_event->event;
dispex_data = &DOMCustomEvent_dispex;
}else if(!event) {
}else {
event = heap_alloc_zero(sizeof(*event));
if(!event)
return NULL;
......
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