Petri Hintukainen pushed to branch master at VideoLAN / libaacs


Commits:
3fec7c2e by hpi1 at 2020-07-07T02:41:51+03:00
mmc_device_darwin: add missing error check

- - - - -


1 changed file:

- src/file/mmc_device_darwin.c


Changes:

=====================================
src/file/mmc_device_darwin.c
=====================================
@@ -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) {



View it on GitLab: 
https://code.videolan.org/videolan/libaacs/-/commit/3fec7c2e73f9ab3f7b57e16028be2a8852b9f0b6

-- 
View it on GitLab: 
https://code.videolan.org/videolan/libaacs/-/commit/3fec7c2e73f9ab3f7b57e16028be2a8852b9f0b6
You're receiving this email because of your account on code.videolan.org.


_______________________________________________
libaacs-devel mailing list
libaacs-devel@videolan.org
https://mailman.videolan.org/listinfo/libaacs-devel

Reply via email to