C-Plus-Plus
C-Plus-Plus copied to clipboard
fix: remove memory leak in `sublist_search.cpp`
Description of Change
sublist_search.cpp has a memory leak. This PR adds the function deleteList in order to fix it.
Checklist
- [x] Added description of change
- [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 sublist_search.cpp.
@CarlosZoft you have some recent experience with reviewing pull-requests fixing memory leaks - maybe you could have a look here as well?
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.
@Panquesito7, @realstealthninja: please dont-close.