Merge "fs_mgr: Fix ENOMEM behavior when dealing with slotselect."

This commit is contained in:
David Zeuthen 2015-09-09 22:45:24 +00:00 committed by Gerrit Code Review
commit 6ca11db7b7

View file

@ -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);