X Tutup
Skip to content

fix memory leak#861

Merged
yanglbme merged 1 commit intoTheAlgorithms:masterfrom
realDuYuanChao:master
Sep 24, 2019
Merged

fix memory leak#861
yanglbme merged 1 commit intoTheAlgorithms:masterfrom
realDuYuanChao:master

Conversation

@realDuYuanChao
Copy link
Copy Markdown
Member

No description provided.

throw new RuntimeException("The list is empty!");
}

Node destory = head;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo on destory, I believe you're aiming for destroy

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@yanglbme yanglbme merged commit 87ed040 into TheAlgorithms:master Sep 24, 2019
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.

3 participants

X Tutup