
9 May
2017
9 May
'17
4:24 a.m.
On Tue, May 9, 2017 at 2:40 AM, Heinrich Schuchardt xypron.glpk@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.glpk@gmx.de
drivers/pci/pci-uclass.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com