Skip to content

Fold the code for freeing env - #6232

Merged
matz merged 1 commit into
mruby:masterfrom
dearblue:free-env
Apr 8, 2024
Merged

Fold the code for freeing env#6232
matz merged 1 commit into
mruby:masterfrom
dearblue:free-env

Conversation

@dearblue

@dearblue dearblue commented Apr 7, 2024

Copy link
Copy Markdown
Contributor

Also, e->stack = NULL is not needed.
This is because "use-after-free" can be detected with MRB_DEBUG + MRB_GC_STRESS.

Also, `e->stack = NULL` is not needed.
This is because "use-after-free" can be detected with `MRB_DEBUG` + `MRB_GC_STRESS`.
@dearblue
dearblue requested a review from matz as a code owner April 7, 2024 11:59
@github-actions github-actions Bot added the core label Apr 7, 2024
@matz
matz merged commit 3ce5f3a into mruby:master Apr 8, 2024
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