Merge pull request #722 from hwangcc23/fix-double-free

Fix double free
This commit is contained in:
云风
2017-08-24 10:05:46 +08:00
committed by GitHub

View File

@@ -420,7 +420,6 @@ push_socket_data(struct harbor *h, const struct skynet_socket_message * message)
}
}
if (s == NULL) {
skynet_free(message->buffer);
skynet_error(h->ctx, "Invalid socket fd (%d) data", fd);
return;
}