cifs: Fix memory leak in cifs_hardlink()
authorChristian Engelmayer <cengelma@gmx.at>
Sat, 11 Jan 2014 00:57:22 +0000 (01:57 +0100)
committerSteve French <smfrench@gmail.com>
Mon, 20 Jan 2014 05:58:18 +0000 (23:58 -0600)
commitabf9767c823bf57837c2032f21332a6efc38a13e
tree601c90d4f541e0f2399f6dc2b400460c3c62a731
parentd8ec26d7f8287f5788a494f56e8814210f0e64be
cifs: Fix memory leak in cifs_hardlink()

Fix a potential memory leak in the cifs_hardlink() error handling path.
Detected by Coverity: CID 728510, CID 728511.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/link.c