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
6f1c143a
Commit
6f1c143a
authored
May 08, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
May 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Set _retval in nsIDirectoryServiceProvider2 functions even when returning failure.
parent
f649ee59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
nsembed.c
dlls/mshtml/nsembed.c
+5
-1
No files found.
dlls/mshtml/nsembed.c
View file @
6f1c143a
...
...
@@ -287,6 +287,7 @@ static nsresult NSAPI nsDirectoryServiceProvider2_GetFile(nsIDirectoryServicePro
return
nsIFile_Clone
(
profile_directory
,
_retval
);
}
*
_retval
=
NULL
;
return
NS_ERROR_FAILURE
;
}
...
...
@@ -310,8 +311,10 @@ static nsresult NSAPI nsDirectoryServiceProvider2_GetFiles(nsIDirectoryServicePr
strcpyW
(
plugin_path
+
len
,
gecko_pluginW
);
nsres
=
create_nsfile
(
plugin_path
,
&
plugin_directory
);
if
(
NS_FAILED
(
nsres
))
if
(
NS_FAILED
(
nsres
))
{
*
_retval
=
NULL
;
return
nsres
;
}
}
nsres
=
nsIFile_Clone
(
plugin_directory
,
&
file
);
...
...
@@ -326,6 +329,7 @@ static nsresult NSAPI nsDirectoryServiceProvider2_GetFiles(nsIDirectoryServicePr
return
NS_OK
;
}
*
_retval
=
NULL
;
return
NS_ERROR_FAILURE
;
}
...
...
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