diff options
author | Alexey Khoroshilov <[email protected]> | 2015-06-12 01:50:45 +0300 |
---|---|---|
committer | James Bottomley <[email protected]> | 2015-08-12 11:31:28 -0700 |
commit | 3ff448b5b7dc7ad4d664588c343da1e5e2ce18dd (patch) | |
tree | d525b35d767c8f5a3307be983b29f3f81b9ac0c3 /lib/memory-notifier-error-inject.c | |
parent | ce83a4ca18391cfe823629c3863108d265e976f8 (diff) |
bfa: fix leak of bfad_im_port_index on module unload
Resources allocated within bfad_im_port_index idr are not deallocated
on module unload. The patch adds idr_destroy() in exit function.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions