summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2015-08-31 17:22:10 +0200
committerIlya Dryomov <idryomov@gmail.com>2015-09-08 22:14:30 +0200
commitd194cd1dd1be61249b08e5461ae8a9c05d1072c9 (patch)
tree781a4e1639f3ac1dcd40e6e05154ddc9846ef784 /include
parentrbd: fix double free on rbd_dev->header_name (diff)
downloadlinux-d194cd1dd1be61249b08e5461ae8a9c05d1072c9.tar.xz
linux-d194cd1dd1be61249b08e5461ae8a9c05d1072c9.zip
rbd: plug rbd_dev->header.object_prefix memory leak
Need to free object_prefix when rbd_dev_v2_snap_context() fails, but only if this is the first time we are reading in the header. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions