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>
This commit is contained in:
Christian Engelmayer 2014-01-11 01:57:22 +01:00 • committed by Steve French
commit abf9767c82