aboutsummaryrefslogtreecommitdiff
path: root/tests/test-bdrv-graph-mod.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-03-12 14:07:25 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-12 15:18:40 +0100
commit1afee8c3da14bd2daf60f98c940ac60cfab9d8b5 (patch)
tree6d9a1a489eb7c84750b2a22770ccd2e5da5267d2 /tests/test-bdrv-graph-mod.c
parentedc6e5015da4d215aaa09bb93060f8cf090cccff (diff)
test-bdrv-graph-mod: fix Error leak
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/test-bdrv-graph-mod.c')
-rw-r--r--tests/test-bdrv-graph-mod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-bdrv-graph-mod.c b/tests/test-bdrv-graph-mod.c
index 458dfa6661..283dc84869 100644
--- a/tests/test-bdrv-graph-mod.c
+++ b/tests/test-bdrv-graph-mod.c
@@ -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);