mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-14 13:54:36 +00:00
[PR #1303] fix: add and use delete_stack in dynamic_stack.c
#1902
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/1303
Author: @vil02
Created: 9/13/2023
Status: 🔄 Open
Base:
master← Head:memory_leak_in_dynamic_stack_patch📝 Commits (1)
2958609fix: add and usedelete_stack📊 Changes
1 file changed (+15 additions, -0 deletions)
View changed files
📝
data_structures/stack/dynamic_stack.c(+15 -0)📄 Description
Description of Change
There is a memory leak in
dynamic_stack.c. This PR adds adelete_stackfunction to fix it.References
Checklist
Notes:
Removes memory leak in
dynamic_stack.c.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.