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
fb1d69fb14
commit
326b3037b4
@ -89,5 +89,6 @@ int main() {
|
||||
quickSort(arr, 0, size-1);
|
||||
std::cout << "Sorted array : ";
|
||||
show(arr, size);
|
||||
delete [] arr;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user