rsox icon indicating copy to clipboard operation
rsox copied to clipboard

Data_Wrap_Struct is used to wrap C data into a Ruby object

Open esshka opened this issue 2 years ago • 1 comments

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.

esshka avatar May 25 '23 06:05 esshka

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

JEuler avatar May 25 '23 06:05 JEuler