Skip to content

Commit

Permalink
tests: fix check-qom-interface leaks
Browse files Browse the repository at this point in the history
Found thanks to ASAN.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
  • Loading branch information
elmarco committed Sep 8, 2016
1 parent d55f295 commit 265804b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/check-qom-interface.c
Expand Up @@ -76,6 +76,7 @@ static void test_interface_impl(const char *type)

g_assert(iobj);
g_assert(ioc->test == PATTERN);
object_unref(obj);
}

static void interface_direct_test(void)
Expand Down

0 comments on commit 265804b

Please sign in to comment.