Re: [FFmpeg-devel] [PATCH] idroqdec: fix leaking pkt on failure

2016-11-29 Thread Andreas Cadhalpun
On 29.11.2016 02:57, Michael Niedermayer wrote: > On Tue, Nov 29, 2016 at 12:46:11AM +0100, Andreas Cadhalpun wrote: >> The code calls av_new_packet a few lines above and the allocated memory >> has to be freed in case of an error. > > should be ok Pushed. Best regards, Andreas

Re: [FFmpeg-devel] [PATCH] idroqdec: fix leaking pkt on failure

2016-11-28 Thread Michael Niedermayer
On Tue, Nov 29, 2016 at 12:46:11AM +0100, Andreas Cadhalpun wrote: > The code calls av_new_packet a few lines above and the allocated memory > has to be freed in case of an error. should be ok thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Does the

[FFmpeg-devel] [PATCH] idroqdec: fix leaking pkt on failure

2016-11-28 Thread Andreas Cadhalpun
The code calls av_new_packet a few lines above and the allocated memory has to be freed in case of an error. Signed-off-by: Andreas Cadhalpun --- libavformat/idroqdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git