Memory Leak in Github Example
Posted: Tue Jul 18, 2017 4:28 pm
Hello,
In the play_sdr.c example (https://github.com/SDRplay/examples/blo ... play_sdr.c), it effectively leaks memory during long recordings. In the callback function, buf16 (or buf8) is reallocated every time a packet of samples is received, but not released until the whole program is stopped.
In the play_sdr.c example (https://github.com/SDRplay/examples/blo ... play_sdr.c), it effectively leaks memory during long recordings. In the callback function, buf16 (or buf8) is reallocated every time a packet of samples is received, but not released until the whole program is stopped.