Skip to content

Commit

Permalink
skiplist fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Dec 19, 2018
1 parent df3b4cb commit a83fcf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/ut_skiplist.c
Expand Up @@ -146,6 +146,8 @@ void skiplist_release(skiplist_t *list)
free(curr);
curr = next;
}
free(list->header);
free(list);
}

skiplist_iter *skiplist_get_iterator(skiplist_t *list)
Expand Down

0 comments on commit a83fcf3

Please sign in to comment.