On Tue, May 9, 2017 at 2:40 AM, Heinrich Schuchardt <xypron.g...@gmx.de> wrote:
> strdup uses malloc to allocate memory for str.
> If we cannot bind to the generic driver we should release
> the memory.
>
> The problem was indicated by clang scan-build.
>
> Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
> ---
>  drivers/pci/pci-uclass.c | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to