commit | c947862f9126983537a4cc11e07d26882d60b7e7 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@web.de> | Mon Feb 08 10:12:05 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 16 16:01:17 2010 -0800 |
tree | 335ae3483ea540877ff5230c3f43288847300417 | |
parent | 54716e3beb0ab20c49471348dfe399a71bfc8fd3 [diff] |
CAPI: Fix leaks in capifs_new_ncci When something went wrong during capifs_new_ncci, the looked up dentry was not properly released. Neither was the allocated inode. Refactor the function to avoid leaks. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>