diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-12 14:50:50 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-12 15:18:40 +0100 |
commit | 5e78bc6a47dd064c63fbf03d01ec4a3c811157e9 (patch) | |
tree | 694c7c1577b3e46c7a83011309c7a7a78d197a05 /migration | |
parent | 1afee8c3da14bd2daf60f98c940ac60cfab9d8b5 (diff) | |
download | qemu-5e78bc6a47dd064c63fbf03d01ec4a3c811157e9.zip |
migration: fix memory leak
Reported by ASAN.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |