forked from TheAlgorithms/C-Plus-Plus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 8a36824
fix: remove memory leak
* fix: remove memory leak
* tests: check properly if `math::iterativeFactorial` throwsiterative_factorial.cpp
(TheAlgorithms#2535)1 parent 2dadbf7 commit 8a36824
1 file changed
+6
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 | - | ||
49 | + | ||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
104 | + | ||
105 | + | ||
104 | 106 |
| |
105 | 107 |
| |
106 | - | ||
107 | - | ||
108 | - | ||
108 | + | ||
109 | + | ||
109 | 110 |
| |
111 | + | ||
110 | 112 |
| |
111 | 113 |
| |
112 | 114 |
| |
|
0 commit comments