Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Sep 9, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

If we alias two variable multiple times, for example like this:

    alias $foo $bar
    alias $foo $bar

Then we will increment the counter for entry2->var->counter each time,
which is not correct because we are not adding more references to
entry2->var. This reports as a memory leak in RUBY_FREE_AT_EXIT because
entry2->var->counter will never reach 0 and thus will never be freed.
@pull pull bot locked and limited conversation to collaborators Sep 9, 2025
@pull pull bot added the ⤵️ pull label Sep 9, 2025
@pull pull bot merged commit ce94add into turkdevops:master Sep 9, 2025
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant