Merge pull request #329 from niuys/patch-3

uncomplete buffer not free
This commit is contained in:
云风
2015-08-27 18:15:12 +08:00

View File

@@ -49,6 +49,7 @@ struct queue {
static void static void
clear_list(struct uncomplete * uc) { clear_list(struct uncomplete * uc) {
while (uc) { while (uc) {
skynet_free(uc->pack.buffer);
void * tmp = uc; void * tmp = uc;
uc = uc->next; uc = uc->next;
skynet_free(tmp); skynet_free(tmp);