tests: fix migration-test leak
commit890241ab6942a0186eaf485dabf266a5a7aac428
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 4 Jan 2018 16:05:16 +0000 (4 17:05 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jan 2018 13:54:50 +0000 (16 14:54 +0100)
tree0c68d01bec05027d2792f44821dc53844e5342f6
parente5dc1a6c6c4359cd783810f63eb68e9e09350708
tests: fix migration-test leak

Direct leak of 12 byte(s) in 2 object(s) allocated from:
    #0 0x7f50d403c850 in malloc (/lib64/libasan.so.4+0xde850)
    #1 0x7f50d1ddf98f in vasprintf (/lib64/libc.so.6+0x8098f)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180104160523.22995-12-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/migration-test.c