commit | b9c532903fa528891c0eceb34ea40a0c47bfb5db | [log] [tgz] |
---|---|---|
author | Josh Durgin <josh.durgin@dreamhost.com> | Tue Dec 06 17:05:10 2011 -0800 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Dec 15 12:40:08 2011 +0100 |
tree | 783486233cbbc8c03da1e86f275229349380958f | |
parent | 28c1202ba63370d44c003fd35257584b1e68de76 [diff] |
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: Oliver Francke <Oliver@filoo.de> Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>