[FFmpeg-devel] [PATCH] flacdec: fix memleaks

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jul 29 17:31:59 CEST 2012


On Sun, Jul 29, 2012 at 02:14:12PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>

Thanks, but could you please use goto instead?
This is quite a lot of code duplication, and if someone e.g. adds a second
buffer that needs to be freed there's a good chance they'll miss to add
it at some places.


More information about the ffmpeg-devel mailing list