diff options
author | Navid Emamdoost <[email protected]> | 2019-10-21 15:06:48 -0500 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2019-10-22 14:42:34 -0500 |
commit | 4aa7afb0ee20a97fbf0c5bab3df028d5fb85fdab (patch) | |
tree | 4ca5468a11f43df1acec8a03e3f7e9eff0b2b59b /lib/memory-notifier-error-inject.c | |
parent | 2a21d858f96bdfd3de28abc1341935d06fb47373 (diff) |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions