Skip to content

Use simple_ptr_list_destroy() rather than reimplementing it#561

Closed
jeltz wants to merge 1 commit intopercona:mainfrom
jeltz:simple-ptr-list-free
Closed

Use simple_ptr_list_destroy() rather than reimplementing it#561
jeltz wants to merge 1 commit intopercona:mainfrom
jeltz:simple-ptr-list-free

Conversation

@jeltz
Copy link
Copy Markdown
Collaborator

@jeltz jeltz commented Apr 2, 2026

Copying the function and adding a pfree() never made any sense. But on top of this I wonder why we only free the list and not the items contained in the list.

Copying the function and adding a pfree() never made any sense. But on
top of this I wonder why we only free the list and not the items
contained in the list.
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.47%. Comparing base (6ca54ed) to head (6f09c1f).

❌ Your project status has failed because the head coverage (75.87%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #561   +/-   ##
=======================================
  Coverage   57.47%   57.47%           
=======================================
  Files          68       68           
  Lines       10709    10709           
  Branches     2640     2640           
=======================================
  Hits         6155     6155           
  Misses       3292     3292           
  Partials     1262     1262           
Components Coverage Δ
access 80.67% <ø> (ø)
bin 63.76% <ø> (ø)
catalog 77.86% <ø> (ø)
common 76.47% <ø> (ø)
encryption 57.98% <ø> (ø)
keyring 65.12% <ø> (ø)
src 87.33% <ø> (ø)
smgr 89.54% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeltz
Copy link
Copy Markdown
Collaborator Author

jeltz commented Apr 2, 2026

Ah, so the reason was that it did not exist in 17. Closing this would I rethink it.

@jeltz jeltz closed this Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants