commit | c09db1820f7ae71d0b1aad7cd1efafab0a880917 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Tue Sep 15 09:18:08 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Tue Sep 15 06:12:45 2015 -0700 |
tree | 2f68ce8543f4e6df22c81d921a16cf3cf9ba4dcf | |
parent | e5acf736caac014de39f618f7725164b75176fea [diff] |
greybus: svc: fix ida memory leak The device-id map was never deallocated on SVC-connection tear down. Also make the map per-SVC-connection (there should still be only one) rather than use a global pointer. Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>