[libav-bugs] [Bug 525] Optimize memory management for mp4 muxer

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Mon Jun 3 00:09:25 CEST 2013


--- Comment #7 from Martin Storsjö <martin at martin.st> 2013-06-03 00:09:24 CEST ---
(In reply to comment #6)
> (In reply to comment #5)
> > 
> > I also changed the reallocs to use a temp variable for the
> > return value, to avoid leaking the old allocation if the realloc failed. (The
> > current way the cluster array is reallocated has got the same potential leak.)
> Isn't av_realloc (as opposed to realloc) supposed to fix exactly that leak?

No, av_realloc has the same semantics as plain realloc with respect to frees on

Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list