Commit 07fd75ba authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ieframe: Check for null before dereferencing it (coverity).

parent c60a0b85
......@@ -663,9 +663,9 @@ static HRESULT WINAPI DocObjectService_FireBeforeNavigate2(
if(cbPostData) {
post_data = SafeArrayCreateVector(VT_UI1, 0, cbPostData);
memcpy(post_data->pvData, pPostData, cbPostData);
if(!post_data)
return E_OUTOFMEMORY;
memcpy(post_data->pvData, pPostData, cbPostData);
}else {
post_data = 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