Eric Wong <normalper...@yhbt.net> writes:

> Måns Rullgård <m...@mansr.com> wrote:
>> This will leak memory like crazy.
>
> You're right. I somehow got spoiled into thinking it was
> alloca-like from another project :x.

Never use such functions.  They are dangerous.

>> I'd prefer not to do a malloc/free for each block, but rather do it just
>> once.  This will require a little more work, of course.
>
> Yes, it should be in the per-stream private data.  Will work on
> it later today if you're busy.

OK, I'll leave it to you then.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to