]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: fix memory leak in bdrv_image_info_specific_dump
authorPino Toscano <ptoscano@redhat.com>
Tue, 18 Oct 2016 10:37:42 +0000 (12:37 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 24 Oct 2016 15:54:03 +0000 (17:54 +0200)
commit3ac2f2f765a0bc18dfb18c38a522e6123289ffc1
tree7f4680c0257f4873cb0dfcfe036044593fb7a7ad
parent09237757a8b2af0a5e6f1141de2d65433e509691
qapi: fix memory leak in bdrv_image_info_specific_dump

The 'obj' result of the visitor was not properly freed, like done in
other places doing a similar job.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qapi.c