Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
55c03ad4
Commit
55c03ad4
authored
Jun 01, 2015
by
Indrek Altpere
Committed by
Alexandre Julliard
Jun 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Add NULL check to avoid crashing due to Gecko bug.
parent
bd5e184b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
htmlcurstyle.c
dlls/mshtml/htmlcurstyle.c
+5
-0
No files found.
dlls/mshtml/htmlcurstyle.c
View file @
55c03ad4
...
@@ -1343,6 +1343,11 @@ HRESULT HTMLCurrentStyle_Create(HTMLElement *elem, IHTMLCurrentStyle **p)
...
@@ -1343,6 +1343,11 @@ HRESULT HTMLCurrentStyle_Create(HTMLElement *elem, IHTMLCurrentStyle **p)
return
E_FAIL
;
return
E_FAIL
;
}
}
if
(
!
nsstyle
)
{
ERR
(
"GetComputedStyle returned NULL nsstyle
\n
"
);
return
E_FAIL
;
}
ret
=
heap_alloc_zero
(
sizeof
(
HTMLCurrentStyle
));
ret
=
heap_alloc_zero
(
sizeof
(
HTMLCurrentStyle
));
if
(
!
ret
)
{
if
(
!
ret
)
{
nsIDOMCSSStyleDeclaration_Release
(
nsstyle
);
nsIDOMCSSStyleDeclaration_Release
(
nsstyle
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment