mirror of
https://github.com/qemu/qemu.git
synced 2025-08-07 23:16:19 +00:00
test-bdrv-graph-mod: fix Error leak
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
edc6e5015d
commit
1afee8c3da
@ -114,6 +114,7 @@ static void test_update_perm_tree(void)
|
|||||||
bdrv_append(filter, bs, &local_err);
|
bdrv_append(filter, bs, &local_err);
|
||||||
|
|
||||||
g_assert_nonnull(local_err);
|
g_assert_nonnull(local_err);
|
||||||
|
error_free(local_err);
|
||||||
|
|
||||||
bdrv_unref(bs);
|
bdrv_unref(bs);
|
||||||
blk_unref(root);
|
blk_unref(root);
|
||||||
|
Loading…
Reference in New Issue
Block a user