C-Plus-Plus icon indicating copy to clipboard operation
C-Plus-Plus copied to clipboard

fix: remove memory leak `get_size_of_linked_list.cpp`

Open vil02 opened this issue 2 years ago • 2 comments

Description of Change

get_size_of_linked_list.cpp has a memory leak. This PR adds the function deleteList in order to fix it.

Checklist

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

Notes:

Removes memory leak in get_size_of_linked_list.cpp.

vil02 avatar Sep 17 '23 17:09 vil02

This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 25 '23 00:12 github-actions[bot]

@Panquesito7, @realstealthninja: please dont-close.

vil02 avatar Dec 25 '23 04:12 vil02