greybus: endo: fix ida memory leak

Fix yet another ida memory leak due to failure to call the destructor.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Johan Hovold 2015-11-03 12:11:25 +01:00 committed by Greg Kroah-Hartman
parent fcfc762f17
commit 26b7ba66c1

View File

@ -547,4 +547,5 @@ int __init gb_endo_init(void)
void gb_endo_exit(void)
{
ida_destroy(&greybus_endo_id_map);
}