Revision 304e3a7c migration-tcp.c

b/migration-tcp.c
128 128

  
129 129
    if (ret < 0 && ret != -EINPROGRESS && ret != -EWOULDBLOCK) {
130 130
        DPRINTF("connect failed\n");
131
        close(s->fd);
132
        qemu_free(s);
133
        return NULL;
131
        migrate_fd_error(s);
134 132
    } else if (ret >= 0)
135 133
        migrate_fd_connect(s);
136 134

  

Also available in: Unified diff