aboutsummaryrefslogtreecommitdiff
path: root/migration-unix.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-08-07 10:50:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-11-02 18:35:07 +0100
commitab52a824a496f4459539a9a11152d6da68703ea0 (patch)
tree1e450ada5167587e2fb1cf5e17312c4fe0dd8dd7 /migration-unix.c
parent6c3601361ff22cb8bda3f483ea11c4f7bd095094 (diff)
downloadqemu-arm-ab52a824a496f4459539a9a11152d6da68703ea0.tar.gz
migration: close socket QEMUFile from socket_close
The common suffix now is process_incoming_migration+qemu_fclose. Reviewed-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration-unix.c')
-rw-r--r--migration-unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration-unix.c b/migration-unix.c
index 9b5521edec..96ea71b787 100644
--- a/migration-unix.c
+++ b/migration-unix.c
@@ -103,6 +103,8 @@ static void unix_accept_incoming_migration(void *opaque)
process_incoming_migration(f);
qemu_fclose(f);
+ return;
+
out:
close(c);
}