free dynamically allocated memory

This commit is contained in:
Krishna Vedala 2020-05-28 19:54:24 -04:00
parent 94f3ffe146
commit 605fa140cc
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7

View File

@ -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;
}