commit | 4adef522cc8eb4915faaea59bda404280ba2da2a | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Tue May 15 15:59:04 2018 -0700 |
committer | George Burgess IV <gbiv@google.com> | Tue May 15 15:59:04 2018 -0700 |
tree | 5b68231abea60d43283f9f7956ece4ddb67ff05f | |
parent | a1b34a8173609094df0e124ecca19b619fc19a41 [diff] |
Fix a double-free On an error here, we'd free `info->sit_blocks` just above this line, return to `generate_f2fs_info`, jump to the `error` label, and call `free_f2fs_info`. `free_f2fs_info` helpfully frees `info->sit_blocks`. Caught by the static analyzer. Bug: None Test: Static analyzer no longer complains. Change-Id: I52a158b35f19736b0bfd9cccf969f8fca9237928