diff options
Diffstat (limited to 'blockdev.c')
-rw-r--r-- | blockdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blockdev.c b/blockdev.c index 3a104a0aaa..c05aaa6ea6 100644 --- a/blockdev.c +++ b/blockdev.c @@ -4020,7 +4020,7 @@ void qmp_blockdev_add(BlockdevOptions *options, Error **errp) } fail: - qmp_output_visitor_cleanup(ov); + visit_free(qmp_output_get_visitor(ov)); } void qmp_x_blockdev_del(bool has_id, const char *id, |