Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data_Wrap_Struct is used to wrap C data into a Ruby object #9

Open
esshka opened this issue May 25, 2023 · 1 comment
Open

Data_Wrap_Struct is used to wrap C data into a Ruby object #9

esshka opened this issue May 25, 2023 · 1 comment

Comments

@esshka
Copy link

esshka commented May 25, 2023

While Data_Wrap_Struct is used to wrap C data into a Ruby object, it seems that the memory allocated for sox_sample_t in rsoxbuffer_initialize is not being freed. Similarly, the code doesn't seem to handle the freeing of memory for sox_signalinfo_t, sox_encodinginfo_t, and sox_oob_t.

@JEuler
Copy link

JEuler commented May 25, 2023

Oh my god, you came first with this issue! I was thinking about the same!

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

No branches or pull requests

2 participants