Skip to content

Conversation

@raggi
Copy link
Member

@raggi raggi commented Jan 6, 2026

Spotted while looking for other bugs.

Updates https://github.com/tailscale/corp/issues/31396

Copilot AI review requested due to automatic review settings January 6, 2026 01:02
Spotted while looking for other bugs.

Updates tailscale/corp#31396
@raggi raggi force-pushed the raggi/disable-func-free branch from f67c710 to 20300c2 Compare January 6, 2026 01:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a memory leak in the DisableFunction method where a C string allocated via C.CString was not being freed after use.

  • Added proper memory cleanup for the C string allocated from the function name parameter

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@raggi raggi merged commit 3ded194 into main Jan 6, 2026
2 checks passed
@raggi raggi deleted the raggi/disable-func-free branch January 6, 2026 01:13
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