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);
|
||||
|
||||
g_assert_nonnull(local_err);
|
||||
error_free(local_err);
|
||||
|
||||
bdrv_unref(bs);
|
||||
blk_unref(root);
|
||||
|
Loading…
Reference in New Issue
Block a user