nfsd: recover: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 7 Mar 2016 10:10:03 +0000 (15:40 +0530)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 17 Mar 2016 18:57:15 +0000 (14:57 -0400)
commit956ccef3c97662c4ba07da9a19e4e62d3e286a8a
tree2ecbf7f9b141961789400ffb5529598677fe1021
parent2f6fc056e899bd0144a08da5cacaecbe8997cd74
nfsd: recover: fix memory leak

nfsd4_cltrack_grace_start() will allocate the memory for grace_start but
when we returned due to error we missed freeing it.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4recover.c