From: majianpeng Date: Tue, 29 Jan 2013 05:16:01 +0000 (+0800) Subject: nfsd: Fix memleak in svc_export_put X-Git-Tag: v3.9-rc1~40^2~40 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=885c91f74662404dc179b8775494df383479311c;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed