test-bdrv-graph-mod: fix Error leak

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2019-03-12 14:07:25 +01:00
parent edc6e5015d
commit 1afee8c3da
1 changed files with 1 additions and 0 deletions

View File

@ -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);