mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 14:16:31 +00:00
isert: Fix small memory leak on module unload
We were leaking portal structure upon module unload Signed-off-by: Yan Burman <yanb@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5841 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1603,6 +1603,7 @@ void isert_portal_release(struct isert_portal *portal)
|
||||
|
||||
isert_portal_list_remove(portal);
|
||||
|
||||
kfree(portal);
|
||||
module_put(THIS_MODULE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user