summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/eprom.c
diff options
context:
space:
mode:
authorColin Ian King2017-10-17 17:54:52 +0200
committerCorey Minyard2017-10-17 22:50:12 +0200
commitc0a32fe13cd323ca9420500b16fd69589c9ba91e (patch)
treeb1162cfc4c7d8954ab09ee0ee3ef8da131aa25f9 /drivers/infiniband/hw/hfi1/eprom.c
parentipmi: remove redundant initialization of bmc (diff)
downloadkernel-qcow2-linux-c0a32fe13cd323ca9420500b16fd69589c9ba91e.tar.gz
kernel-qcow2-linux-c0a32fe13cd323ca9420500b16fd69589c9ba91e.tar.xz
kernel-qcow2-linux-c0a32fe13cd323ca9420500b16fd69589c9ba91e.zip
ipmi_si: fix memory leak on new_smi
The error exit path omits kfree'ing the allocated new_smi, causing a memory leak. Fix this by kfree'ing new_smi. Detected by CoverityScan, CID#14582571 ("Resource Leak") Fixes: 7e030d6dff71 ("ipmi: Prefer ACPI system interfaces over SMBIOS ones") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/eprom.c')
0 files changed, 0 insertions, 0 deletions