commit | a9360abd3de0aad745d25d003923d56afb28a04b | [log] [tgz] |
---|---|---|
author | Mark Bloch <markb@mellanox.com> | Tue Sep 25 11:23:55 2018 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue Sep 25 14:47:33 2018 -0600 |
tree | 5a4530e7e4ccb7d7123e5f1a81f22e9a8a4c6162 | |
parent | de5c95d0f518537f59ee5aef762abc46f868c377 [diff] |
IB/uverbs: Free uapi on destroy Make sure we free struct uverbs_api once we clean the radix tree. It was allocated by uverbs_alloc_api(). Fixes: 9ed3e5f44772 ("IB/uverbs: Build the specs into a radix tree at runtime") Reported-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>