[U-Boot] [PATCHv2] GPT: fix memory leaks identified by Coverity

Bin Meng bmeng.cn at gmail.com
Tue Sep 26 14:40:47 UTC 2017


Hi,

On Tue, Sep 26, 2017 at 10:39 PM,  <alison at peloton-tech.com> wrote:
> From: Alison Chaiken <alison at she-devel.com>
>
> Create a common exit for most of the error handling code in
> do_rename_gpt_parts.   Delete the list elements in disk_partitions
> before calling INIT_LIST_HEAD from get_gpt_info() a second time.
>
> The SIZEOF_MISMATCH error is not addressed, since that problem was
> already fixed by "GPT: incomplete initialization in
> allocate_disk_part".
>
> Signed-off-by: Alison Chaiken <alison at peloton-tech.com>
>
> v2: Fix comment-formatting problems in v1.

Please move the change log below ---

>
> ---

Regards,
Bin


More information about the U-Boot mailing list