Commit 1fa70ce6 authored by Saranya Chidura's avatar Saranya Chidura Committed by Gerrit - the friendly Code Review server
Browse files

platform: msm_shared: Fix the double free of buffer, which used to store partition entries



A buffer, allocated in partition_parse_gpt_header() for storing the
partition entries and re-use for validations. In mmc_boot_read_gpt(),
this buffer is double freed in error path. Fix the buffer free.

Change-Id: I567b9de63e163e307ea8480b452abcaa0bc7891e
Signed-off-by: default avatarSaranya Chidura <schidura@codeaurora.org>
parent 014cbc3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment