Skip to content
Commit 885c91f7 authored by majianpeng's avatar majianpeng Committed by J. Bruce Fields
Browse files

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: default avatarJianpeng Ma <majianpeng@gmail.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent ff89be87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment