Skip to content
Commit 5c1ac694 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

greybus: properly cleanup ida and idr structures when shutting down



idr and ida structures have internal memory allocated that needs to be
freed when modules are removed.  So call the proper idr_destroy() or
ida_destroy() functions on the module exit path to free the memory.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
parent 6ceb8fde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment