diff --git a/tests/libqos/malloc-pc.c b/tests/libqos/malloc-pc.c index db1496c6679e60c5b58e3ecce65c78ee5d87b2c1..63af60ac17bf1bb35b008a91595c6b5a49a92f91 100644 --- a/tests/libqos/malloc-pc.c +++ b/tests/libqos/malloc-pc.c @@ -67,5 +67,8 @@ QGuestAllocator *pc_alloc_init(void) /* Respect PCI hole */ s->end = MIN(ram_size, 0xE0000000); + /* clean-up */ + g_free(fw_cfg); + return &s->alloc; }