Fix leak in blockRouterAdvertisements#5476
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdded explicit packet buffer deallocation in the ICMPv6 Router Advertisement blocking callback function. The function now frees the incoming pbuf before returning 1 to claim the packet, ensuring proper memory management instead of leaving buffer cleanup to lwIP's subsequent handling. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This does fix the bug. Approved. :-) |
Fix memory leak introduced by #5438
Summary by CodeRabbit