Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Jean-Baptiste Kempf
libaacs
Commits
3fec7c2e
Commit
3fec7c2e
authored
Jul 07, 2020
by
hpi1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmc_device_darwin: add missing error check
parent
5f58595f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/file/mmc_device_darwin.c
src/file/mmc_device_darwin.c
+4
-0
No files found.
src/file/mmc_device_darwin.c
View file @
3fec7c2e
...
...
@@ -446,6 +446,10 @@ static int mmc_open_iokit(const char *path, MMCDEV *mmc) {
/* done with the ioservice. release it */
(
void
)
IOObjectRelease
(
service
);
if
(
0
!=
rc
)
{
return
rc
;
}
/* Init DiskArbitration */
rc
=
iokit_da_init
(
mmc
);
if
(
0
!=
rc
)
{
...
...
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