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
dba0fe36
Commit
dba0fe36
authored
Feb 16, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Fix potential crash if script site creation failed.
parent
ab854893
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
global.c
dlls/vbscript/global.c
+3
-2
No files found.
dlls/vbscript/global.c
View file @
dba0fe36
...
...
@@ -209,11 +209,12 @@ static HRESULT set_object_site(script_ctx_t *ctx, IUnknown *obj)
return
S_OK
;
ax_site
=
create_ax_site
(
ctx
);
if
(
ax_site
)
if
(
ax_site
)
{
hres
=
IObjectWithSite_SetSite
(
obj_site
,
ax_site
);
IUnknown_Release
(
ax_site
);
}
else
hres
=
E_OUTOFMEMORY
;
IUnknown_Release
(
ax_site
);
IObjectWithSite_Release
(
obj_site
);
return
hres
;
}
...
...
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