mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
free dynamically allocated memory
This commit is contained in:
parent
94f3ffe146
commit
605fa140cc
@ -59,5 +59,6 @@ int main() {
|
||||
assert(struzik_search<int>(sorted_array, 7, 50) == nullptr);
|
||||
assert(struzik_search<int>(sorted_array, 7, 7) == sorted_array);
|
||||
// TEST CASES
|
||||
delete[] sorted_array;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user