Skip to content

fix: [Bug Report] skiplist_release() leaks the header node and the list struct (frees only the data nodes) - #3

Open
webbrain-one wants to merge 1 commit into
0xae:masterfrom
webbrain-one:webbrain/issue-2
Open

fix: [Bug Report] skiplist_release() leaks the header node and the list struct (frees only the data nodes)#3
webbrain-one wants to merge 1 commit into
0xae:masterfrom
webbrain-one:webbrain/issue-2

Conversation

@webbrain-one

Copy link
Copy Markdown

Closes #2

Prevent memory leaks by freeing the sentinel header node and the
skiplist control structure after all data nodes have been released.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report] skiplist_release() leaks the header node and the list struct (frees only the data nodes)

1 participant