summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-10-21 23:06:48 +0300
committerCorey Minyard <cminyard@mvista.com>2019-10-22 22:42:34 +0300
commit4aa7afb0ee20a97fbf0c5bab3df028d5fb85fdab (patch)
tree4ca5468a11f43df1acec8a03e3f7e9eff0b2b59b /tools/perf/util/scripting-engines/trace-event-python.c
parent2a21d858f96bdfd3de28abc1341935d06fb47373 (diff)
downloadlinux-4aa7afb0ee20a97fbf0c5bab3df028d5fb85fdab.tar.xz
ipmi: Fix memory leak in __ipmi_bmc_register
In the impelementation of __ipmi_bmc_register() the allocated memory for bmc should be released in case ida_simple_get() fails. Fixes: 68e7e50f195f ("ipmi: Don't use BMC product/dev ids in the BMC name") Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Message-Id: <20191021200649.1511-1-navid.emamdoost@gmail.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions