commit | 885c91f74662404dc179b8775494df383479311c | [log] [tgz] |
---|---|---|
author | majianpeng <majianpeng@gmail.com> | Tue Jan 29 13:16:01 2013 +0800 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Jan 29 16:50:03 2013 -0500 |
tree | 7ec009e3704fb201ab518a22954cd2951420270e | |
parent | ff89be87c70247ffe3a72271e02eb7765cdd12c4 [diff] |
nfsd: Fix memleak in svc_export_put In func svc_export_parse, the uuid which used kmemdup to alloc will be changed in func export_update.So the later kfree don't free this memory. And it can't be free in func svc_export_parse because other place still used.So put this operation in func svc_export_put. Signed-off-by: Jianpeng Ma <majianpeng@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>