diff options
Diffstat (limited to 'src/tests/test.c')
| -rw-r--r-- | src/tests/test.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tests/test.c b/src/tests/test.c index b0a24c084..11dd2f5ef 100644 --- a/src/tests/test.c +++ b/src/tests/test.c @@ -149,12 +149,8 @@ static struct image_type test_image_type = { .exec = test_image_exec, }; -static void test_image_free ( struct refcnt *refcnt __unused ) { - /* Do nothing */ -} - static struct image test_image = { - .refcnt = REF_INIT ( test_image_free ), + .refcnt = REF_INIT ( ref_no_free ), .name = "<TESTS>", .type = &test_image_type, }; |
