Skip to content

Use xfree() for heap area allocated by xmalloc#84

Merged
ioquatix merged 1 commit intosocketry:mainfrom
Watson1978:xfree
Feb 9, 2026
Merged

Use xfree() for heap area allocated by xmalloc#84
ioquatix merged 1 commit intosocketry:mainfrom
Watson1978:xfree

Conversation

@Watson1978
Copy link
Contributor

@Watson1978 Watson1978 commented Oct 28, 2025

In buffer.c, it uses xmalloc Ruby API to allocate heap area.

To release the areas, it should use xfree instead of free.

Types of Changes

  • Bug fix.

Contribution

@ioquatix ioquatix merged commit 336ff67 into socketry:main Feb 9, 2026
15 checks passed
@ioquatix ioquatix added this to the v1.9.3 milestone Feb 9, 2026
@Watson1978 Watson1978 deleted the xfree branch February 9, 2026 08:20
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