-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed the free(old) call from the _twin_queue_delete function, consolidating memory deallocation into the _twin_queue_review_order function. This change improves memory management and enhances the maintainability of the code. The fix was verified on the fbdev backend using GDB to confirm that old is properly freed during the execution of free(q) in the _twin_queue_review_order function. Additionally, on the same backend, AddressSanitizer was used to confirm the absence of memory leaks and double free issues. Close #75
- Loading branch information
1 parent
2cc4b56
commit 232542c
Showing
2 changed files
with
0 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters