Commit 26b7ba66 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

greybus: endo: fix ida memory leak

Fix yet another ida memory leak due to failure to call the destructor.
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent fcfc762f
......@@ -547,4 +547,5 @@ int __init gb_endo_init(void)
void gb_endo_exit(void)
{
ida_destroy(&greybus_endo_id_map);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment