C
C copied to clipboard
fix: add and use `delete_stack` in `dynamic_stack.c`
Description of Change
There is a memory leak in dynamic_stack.c. This PR adds a delete_stack function to fix it.
References
Checklist
- [x] Added description of change
- [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 dynamic_stack.c.
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.