From 5e78bc6a47dd064c63fbf03d01ec4a3c811157e9 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 12 Mar 2019 14:50:50 +0100 Subject: migration: fix memory leak Reported by ASAN. Signed-off-by: Paolo Bonzini --- migration/socket.c | 1 + 1 file changed, 1 insertion(+) (limited to 'migration') diff --git a/migration/socket.c b/migration/socket.c index 239527fb1f..49bacf78fd 100644 --- a/migration/socket.c +++ b/migration/socket.c @@ -199,6 +199,7 @@ static void socket_start_incoming_migration(SocketAddress *saddr, return; } migrate_add_address(address); + qapi_free_SocketAddress(address); } } -- cgit v1.2.3-55-g7522