Eric Wong <[email protected]> writes:

> Måns Rullgård <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to