diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-08-07 10:50:26 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-11-02 18:35:07 +0100 |
commit | ab52a824a496f4459539a9a11152d6da68703ea0 (patch) | |
tree | 1e450ada5167587e2fb1cf5e17312c4fe0dd8dd7 /savevm.c | |
parent | 6c3601361ff22cb8bda3f483ea11c4f7bd095094 (diff) | |
download | qemu-ab52a824a496f4459539a9a11152d6da68703ea0.zip qemu-ab52a824a496f4459539a9a11152d6da68703ea0.tar.gz qemu-ab52a824a496f4459539a9a11152d6da68703ea0.tar.bz2 |
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 'savevm.c')
-rw-r--r-- | savevm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -213,6 +213,7 @@ static int socket_get_buffer(void *opaque, uint8_t *buf, int64_t pos, int size) static int socket_close(void *opaque) { QEMUFileSocket *s = opaque; + closesocket(s->fd); g_free(s); return 0; } |