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
d420a858
Commit
d420a858
authored
Feb 13, 2010
by
Vincent Povirk
Committed by
Alexandre Julliard
Feb 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add error checking to StorageBaseImpl_CreateStorage.
parent
1fab6e35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
storage32.c
dlls/ole32/storage32.c
+9
-2
No files found.
dlls/ole32/storage32.c
View file @
d420a858
...
...
@@ -1132,15 +1132,22 @@ static HRESULT WINAPI StorageBaseImpl_CreateStorage(
/*
* Create a new directory entry for the storage
*/
StorageBaseImpl_CreateDirEntry
(
This
,
&
newEntry
,
&
newEntryRef
);
hr
=
StorageBaseImpl_CreateDirEntry
(
This
,
&
newEntry
,
&
newEntryRef
);
if
(
FAILED
(
hr
))
return
hr
;
/*
* Insert the new directory entry into the parent storage's tree
*/
insertIntoTree
(
hr
=
insertIntoTree
(
This
,
This
->
storageDirEntry
,
newEntryRef
);
if
(
FAILED
(
hr
))
{
StorageBaseImpl_DestroyDirEntry
(
This
,
newEntryRef
);
return
hr
;
}
/*
* Open it to get a pointer to return.
...
...
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