[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/4] migration: fix memory leak
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 3/4] migration: fix memory leak |
Date: |
Tue, 12 Mar 2019 15:13:23 +0100 |
Reported by ASAN.
Signed-off-by: Paolo Bonzini <address@hidden>
---
migration/socket.c | 1 +
1 file changed, 1 insertion(+)
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);
}
}
--
2.20.1