Skip to content
Commit d194cd1d authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
parent 3ebe138a
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