Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't try to free static array in mnist example #3049

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Zentrik
Copy link

@Zentrik Zentrik commented Jan 22, 2025

I don't think its correct to free a static array, it was causing ABORTS with free(): invalid pointer printed for me.

I don't think its correct to free a static array, it was causing ABORTS with `free(): invalid pointer` printed for me.

Signed-off-by: Zentrik <[email protected]>
@jenkins-droid
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link
Collaborator

@AlexandreEichenberger AlexandreEichenberger left a comment

Choose a reason for hiding this comment

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

You are absolutely correct, thanks for finding this bug.
I will merge the PR once it succeeds the CIs (which it should as the change is non-functional as it impacts only a README file.

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.

3 participants