-
Notifications
You must be signed in to change notification settings - Fork 336
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
Conversation
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 <llvm.zentrik@gmail.com>
Can one of the admins verify this patch? |
There was a problem hiding this 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.
@Zentrik sorry dropped the ball on this one. Will merge since it passed the tests. |
Thanks @Zentrik for your contribution, much appreciated |
Jenkins Linux amd64 Build #16313 [push] Dont try to free static ... started at 12:53 |
Jenkins Linux s390x Build #16315 [push] Dont try to free static ... started at 13:53 |
Jenkins Linux s390x Build #16315 [push] Dont try to free static ... passed after 2 hr 27 min |
Jenkins Linux amd64 Build #16313 [push] Dont try to free static ... passed after 3 hr 6 min |
I don't think its correct to free a static array, it was causing ABORTS with
free(): invalid pointer
printed for me.