pcm_buffer: set size after allocation
When I implemented the pcm_buffer library, I forgot to set the new
buffer size. This caused a new allocation in each pcm_buffer_get(),
fortunately no memory was leaked.
Showing
Please
register
or
sign in
to comment