Skip to content

Conversation

@peterzhu2118
Copy link
Member

The allocated Fiddle::Pointer never gets freed because it doesn't have a free function defined for when it gets garbage collected. This commit changes it to use the default free function.

The allocated Fiddle::Pointer never gets freed because it doesn't have a
free function defined for when it gets garbage collected. This commit
changes it to use the default free function.
Copy link
Member

@st0012 st0012 left a comment

Choose a reason for hiding this comment

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

Thx!

@st0012 st0012 merged commit 0796dcd into master Jul 29, 2024
@st0012 st0012 deleted the pz-setupterm-leak branch July 29, 2024 15:07
matzbot pushed a commit to ruby/ruby that referenced this pull request Jul 29, 2024
(ruby/reline#733)

The allocated Fiddle::Pointer never gets freed because it doesn't have a
free function defined for when it gets garbage collected. This commit
changes it to use the default free function.

ruby/reline@0796dcd497
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