mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-03 02:29:53 +08:00
free dynamically allocated memory
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user