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