Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 744a8f87 authored by David Zeuthen's avatar David Zeuthen
Browse files

fs_mgr: Fix ENOMEM behavior when dealing with slotselect.

Change-Id: I5460a8d31baa0d4817ff5fcbd9aac272071937f4
parent aaf4fcf4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -313,6 +313,7 @@ struct fstab *fs_mgr_read_fstab(const char *fstab_path)
    /* If an A/B partition, modify block device to be the real block device */
    if (fs_mgr_update_for_slotselect(fstab) != 0) {
        ERROR("Error updating for slotselect\n");
        goto err;
    }
    fclose(fstab_file);
    free(line);