解决内存泄漏
This commit is contained in:
parent
b72c72308f
commit
289d2b374f
@ -68,6 +68,7 @@ void skip_list_destory(skiplist * list)
|
||||
free(tmp);
|
||||
}
|
||||
|
||||
free(list->head);
|
||||
free(list);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user