fix: remove memory leak `iterative_factorial.cpp`
Description of Change
There is a memory leak in iterative_factorial.cpp while throwing an exception. This PR fixes it and does some other small changes.
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 iterative_factorial.cpp.
@vil02, some suggestions.. pls resolve the conflits
@vil02, some suggestions.. pls resolve the conflits
@CarlosZoft luckily there were no conflicts, just my branch was out-of-date. It is fixed now.
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: Merry Christmas and please dont-close.
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.
Please add dont-close or merge.
