mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-01 17:52:40 +08:00
free dynamically allocated memory
This commit is contained in:
@@ -89,5 +89,6 @@ int main() {
|
||||
quickSort(arr, 0, size-1);
|
||||
std::cout << "Sorted array : ";
|
||||
show(arr, size);
|
||||
delete [] arr;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user