Skip to content

Commit

Permalink
fix: free the allocated resources in quick sort (TheAlgorithms#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
KuhakuPixel authored Dec 22, 2021
1 parent 37534f4 commit ef98786
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sorting/quick_sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@ int main()
printf("Sorted array: ");
display(arr, n); // Sorted array : 3 4 7 8 8 9 10 11
getchar();
free(arr);
return 0;
}

0 comments on commit ef98786

Please sign in to comment.