Skip to content
Commit e47c212c authored by Josh Durgin's avatar Josh Durgin Committed by Justin M. Forbes
Browse files

rbd: always set out parameter in qemu_rbd_snap_list



The caller expects psn_tab to be NULL when there are no snapshots or
an error occurs. This results in calling g_free on an invalid address.

Reported-by: default avatarOliver Francke <Oliver@filoo.de>
Signed-off-by: default avatarJosh Durgin <josh.durgin@dreamhost.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 8afe984e
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