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
a05ba2b9
Commit
a05ba2b9
authored
Jul 14, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Jul 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Check error return in get_known_folder_path (Coverity).
parent
3dc66a9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
shellpath.c
dlls/shell32/shellpath.c
+6
-1
No files found.
dlls/shell32/shellpath.c
View file @
a05ba2b9
...
...
@@ -3422,9 +3422,14 @@ static HRESULT get_known_folder_path(
if
(
hr
==
S_OK
)
{
/* get parent's known folder path (recursive) */
get_known_folder_registry_path
(
NULL
,
parentGuid
,
&
parentRegistryPath
);
hr
=
get_known_folder_registry_path
(
NULL
,
parentGuid
,
&
parentRegistryPath
);
if
(
!
SUCCEEDED
(
hr
))
return
hr
;
hr
=
get_known_folder_path
(
parentGuid
,
parentRegistryPath
,
&
parentPath
);
if
(
!
SUCCEEDED
(
hr
))
{
HeapFree
(
GetProcessHeap
(),
0
,
parentRegistryPath
);
return
hr
;
}
lstrcatW
(
path
,
parentPath
);
lstrcatW
(
path
,
sBackslash
);
...
...
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