Please sign in to comment.
CHROMIUM: verity: embed hash_desc instead of allocating it
This simplifies the code and saves a level of indirection. I also discovered a leak in one of the dm_bht_create error paths which is also fixed by this change. BUG=chromium-os:9752 TEST=Ran unit tests from dm-verity.git. Ran platform_DMVerityCorruption and platform_DMVerityBitCorruption. TESTED_ON=Alex Change-Id: I243e8ffeb7ecf19d9a6a6386fc81fce646b0a6f6 Signed-off-by: Mandeep Singh Baines <firstname.lastname@example.org> Reviewed-on: http://gerrit.chromium.org/gerrit/5673
- Loading branch information...
Showing with 2 additions and 14 deletions.