Re: [Qemu-devel] [RFC v2 27/33] migration: free SocketAddress where allocated

2017-09-22 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Freeing the SocketAddress struct in socket_start_incoming_migration is > slightly confusing. Let's free the address in the same context where we > allocated it. > > Signed-off-by: Peter Xu Reviewed-by: Dr. David Alan Gilbert > --- > migration/socket.c |

[Qemu-devel] [RFC v2 27/33] migration: free SocketAddress where allocated

2017-08-30 Thread Peter Xu
Freeing the SocketAddress struct in socket_start_incoming_migration is slightly confusing. Let's free the address in the same context where we allocated it. Signed-off-by: Peter Xu --- migration/socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migration/socket.c b