commit | 681844612dc64000965574f3159d0f4eefc7724f | [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 | 7962968f4e5b6918db5b789d5cf01ad40cc66628 [diff] | |
parent | 1257a15526cbdfe74cd68cd02d765932968999aa [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);