diff --git a/sorting/quick_sort.cpp b/sorting/quick_sort.cpp index d067fa068..e09ad184c 100644 --- a/sorting/quick_sort.cpp +++ b/sorting/quick_sort.cpp @@ -89,5 +89,6 @@ int main() { quickSort(arr, 0, size-1); std::cout << "Sorted array : "; show(arr, size); + delete [] arr; return 0; }