mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 13:38:36 -07:00
migration: fix memory leak
Reported by ASAN. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1afee8c3da
commit
5e78bc6a47
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue