Skip to content

Conversation

@kaofishy
Copy link

@kaofishy kaofishy commented Oct 25, 2021

The screen surface buffer needs to be freed as the Nspire OS does not automatically free dynamically allocated memory after program quits.

Also fixes a malloc'd string that was never freed.

The screen surface buffer needs to be freed as the Nspire OS does not automatically free dynamically allocated memory after program quits.
The temporary string used to draw the score was not freed. Allocating it on the stack instead.
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.

1 participant