commit | 744a8f87d9ccd5e6112c7052863df6291e045f51 | [log] [tgz] |
---|---|---|
author | David Zeuthen <zeuthen@google.com> | Wed Sep 09 18:03:13 2015 -0400 |
committer | David Zeuthen <zeuthen@google.com> | Wed Sep 09 18:03:13 2015 -0400 |
tree | c5da202e9199c2033951ac2fc3d24ea7fed6ff83 | |
parent | aaf4fcf482d427459c70e10a22fef5ea9c7bca1a [diff] |
fs_mgr: Fix ENOMEM behavior when dealing with slotselect. Change-Id: I5460a8d31baa0d4817ff5fcbd9aac272071937f4
diff --git a/fs_mgr/fs_mgr_fstab.c b/fs_mgr/fs_mgr_fstab.c index 3379deb..4f18339 100644 --- a/fs_mgr/fs_mgr_fstab.c +++ b/fs_mgr/fs_mgr_fstab.c
@@ -313,6 +313,7 @@ /* 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);