Skip to content

Consistently error when allocation request fails#6271

Merged
MichaelChirico merged 16 commits intomasterfrom
malloc-return
Jul 16, 2024
Merged

Consistently error when allocation request fails#6271
MichaelChirico merged 16 commits intomasterfrom
malloc-return

Conversation

@MichaelChirico
Copy link
Member

@MichaelChirico MichaelChirico commented Jul 16, 2024

Part of #1115

Also

TODO:

  • Just use free(); free(); instead of if (.) free(.), for conciseness
  • Consistency in error for translation purposes
  • Come up with a way to prevent backsliding

@github-actions
Copy link

github-actions bot commented Jul 16, 2024

Comparison Plot

Generated via commit 1cb8e1a

Download link for the artifact containing the test results: ↓ atime-results.zip

Time taken to finish the standard R installation steps: 12 minutes and 31 seconds

Time taken to run atime::atime_pkg on the tests: 3 minutes and 32 seconds

Copy link
Member

@tdhock tdhock left a comment

Choose a reason for hiding this comment

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

this looks good to me. Thanks!
maybe add a NEWS item about the linter?

@MichaelChirico MichaelChirico merged commit bca0d3e into master Jul 16, 2024
@MichaelChirico MichaelChirico deleted the malloc-return branch July 16, 2024 14:14
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