mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #923] [MERGED] fix: free the allocated resources in quick sort #1452
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/923
Author: @KuhakuPixel
Created: 12/22/2021
Status: ✅ Merged
Merged: 12/22/2021
Merged by: @Panquesito7
Base:
master← Head:master📝 Commits (1)
1a9d3aeFree the allocated resources📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
sorting/quick_sort.c(+1 -0)📄 Description
Free the allocated resources by malloc
Description of Change
It is a good practice and example to always free the allocated resources
References
Checklist
Notes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.