Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: memory leak in median_search2.cpp #2723

Merged

Conversation

vil02
Copy link
Member

@vil02 vil02 commented Sep 3, 2024

Description of Change

median_search2.cpp has a memory leak. This PR fixes it.

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:
Fixes memory leak in median_search2.cpp.

@vil02 vil02 marked this pull request as ready for review September 3, 2024 19:14
@realstealthninja realstealthninja merged commit 490974e into TheAlgorithms:master Sep 4, 2024
7 checks passed
@vil02 vil02 deleted the memory_leak_in_median_search2 branch September 4, 2024 07:29
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.

2 participants