tests: test-announce-self: fix memory leak
commit6415c2d0b66eab958be2a1fd81615c55793cefa6
authorLi Qiang <liq3ea@163.com>
Mon, 11 Mar 2019 14:14:57 +0000 (11 07:14 -0700)
committerThomas Huth <thuth@redhat.com>
Tue, 12 Mar 2019 06:39:17 +0000 (12 07:39 +0100)
tree9e8199919c69666916d52c6259542db97863f310
parent377b155bde451d5ac545fbdcdfbf6ca17a4228f5
tests: test-announce-self: fix memory leak

Spotted by ASAN while running 'make check'.

Fixes: 4b9b7000 ("tests: Add a test for qemu self announcements")
Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Li Qiang <liq3ea@163.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/test-announce-self.c