commit | 6ca11db7b7dc5e141c767b38328c3838a3b90b60 | [log] [tgz] |
---|---|---|
author | David Zeuthen <zeuthen@google.com> | Wed Sep 09 22:45:24 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Sep 09 22:45:24 2015 +0000 |
tree | c5da202e9199c2033951ac2fc3d24ea7fed6ff83 | |
parent | aaf4fcf482d427459c70e10a22fef5ea9c7bca1a [diff] | |
parent | 744a8f87d9ccd5e6112c7052863df6291e045f51 [diff] |
Merge "fs_mgr: Fix ENOMEM behavior when dealing with slotselect."
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);