summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@icloud.com>2018-02-06 01:25:55 +0100
committerIlya Dryomov <idryomov@gmail.com>2018-02-26 16:19:30 +0100
commit937441f3a3158d5510ca8cc78a82453f57a96365 (patch)
tree50f5222a92bd9b764d95e9dc2bd78e63d83d98a3 /block
parentceph: flush dirty caps of unlinked inode ASAP (diff)
downloadlinux-937441f3a3158d5510ca8cc78a82453f57a96365.tar.xz
linux-937441f3a3158d5510ca8cc78a82453f57a96365.zip
libceph, ceph: avoid memory leak when specifying same option several times
When parsing string option, in order to avoid memory leak we need to carefully free it first in case of specifying same option several times. Signed-off-by: Chengguang Xu <cgxu519@icloud.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions