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:
Yan Burman
2014-10-13 12:33:20 +00:00
parent e15fe7a755
commit dc27d29167
+1
View File
@@ -1603,6 +1603,7 @@ void isert_portal_release(struct isert_portal *portal)
isert_portal_list_remove(portal);
kfree(portal);
module_put(THIS_MODULE);
}