Skip to content

C: Add free calls to prism command#1128

Merged
marcoroth merged 1 commit intomarcoroth:mainfrom
citizen428:free-in-prism-command
Feb 6, 2026
Merged

C: Add free calls to prism command#1128
marcoroth merged 1 commit intomarcoroth:mainfrom
citizen428:free-in-prism-command

Conversation

@citizen428
Copy link
Contributor

Rationale:
While this is not really a memory leak (the OS will reclaim the memory since we exit right after), the missing frees are not that big of a deal. However, all other subcommands in main.c explicitly free the allocated memory, so I thought it'd be good to add some consistency here.

@github-actions github-actions bot added the c label Feb 6, 2026
Copy link
Owner

@marcoroth marcoroth left a comment

Choose a reason for hiding this comment

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

I'm sure there are more like those somewhere in the codebase, thank for catching this one! 🙏🏼

@marcoroth marcoroth changed the title Add free calls to prism command C: Add free calls to prism command Feb 6, 2026
@marcoroth marcoroth merged commit 9d54d4d into marcoroth:main Feb 6, 2026
24 checks passed
@citizen428 citizen428 deleted the free-in-prism-command branch February 6, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants