Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove memory leak iterative_factorial.cpp #2535

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vil02
Copy link
Member

@vil02 vil02 commented Sep 18, 2023

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

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

Notes:
Removes memory leak in iterative_factorial.cpp.

@vil02 vil02 marked this pull request as ready for review September 18, 2023 16:28
@CarlosZoft
Copy link
Member

@vil02, some suggestions.. pls resolve the conflits

image

@vil02 vil02 force-pushed the memory_leak_iterative_factorial_patch branch from 4fe4cf4 to e4ada59 Compare October 2, 2023 11:43
@vil02
Copy link
Member Author

vil02 commented Oct 2, 2023

@vil02, some suggestions.. pls resolve the conflits

image

@CarlosZoft luckily there were no conflicts, just my branch was out-of-date. It is fixed now.

Copy link
Contributor

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 github-actions bot added the stale Author has not responded to the comments for over 2 weeks label Dec 24, 2023
@vil02
Copy link
Member Author

vil02 commented Dec 24, 2023

@Panquesito7, @realstealthninja: Merry Christmas and please dont-close.

@github-actions github-actions bot removed the stale Author has not responded to the comments for over 2 weeks label Dec 25, 2023
@vil02 vil02 force-pushed the memory_leak_iterative_factorial_patch branch from e4ada59 to a86a017 Compare January 16, 2024 07:11
@vil02 vil02 force-pushed the memory_leak_iterative_factorial_patch branch from a86a017 to 443d2ff Compare February 12, 2024 21:13
Copy link
Collaborator

@realstealthninja realstealthninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

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 github-actions bot added the stale Author has not responded to the comments for over 2 weeks label Apr 11, 2024
@vil02
Copy link
Member Author

vil02 commented Apr 11, 2024

Please add dont-close or merge.

math/iterative_factorial.cpp Show resolved Hide resolved
math/iterative_factorial.cpp Show resolved Hide resolved
math/iterative_factorial.cpp Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Author has not responded to the comments for over 2 weeks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants