C
C copied to clipboard
fix: remove memory leaks `kruskal.c`
Description of Change
There are two memory leaks in kruskal.c. This PR removes them.
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:
Fixes memory leaks in kruskal.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.