diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 10:12:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 16:01:17 -0800 |
commit | c947862f9126983537a4cc11e07d26882d60b7e7 (patch) | |
tree | 335ae3483ea540877ff5230c3f43288847300417 /drivers/hwmon/ads7828.c | |
parent | 54716e3beb0ab20c49471348dfe399a71bfc8fd3 (diff) | |
download | blackbird-op-linux-c947862f9126983537a4cc11e07d26882d60b7e7.tar.gz blackbird-op-linux-c947862f9126983537a4cc11e07d26882d60b7e7.zip |
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>
Diffstat (limited to 'drivers/hwmon/ads7828.c')
0 files changed, 0 insertions, 0 deletions