解决内存泄漏

This commit is contained in:
jinshaohui 2018-11-01 07:08:39 +08:00
parent b72c72308f
commit 289d2b374f

View File

@ -68,6 +68,7 @@ void skip_list_destory(skiplist * list)
free(tmp);
}
free(list->head);
free(list);
return;
}