mirror of
https://github.com/mii443/qemu.git
synced 2025-12-04 11:38:25 +00:00
migration: fix memory leak
Reported by ASAN. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -199,6 +199,7 @@ static void socket_start_incoming_migration(SocketAddress *saddr,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
migrate_add_address(address);
|
migrate_add_address(address);
|
||||||
|
qapi_free_SocketAddress(address);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user