On Thu, Jun 04, 2015 at 12:58:56AM -0300, James Almer wrote:
> On 03/06/15 10:47 PM, Michael Niedermayer wrote:
> > This avoids leaks if the user doest call swr_close() after a failed init
>
> This should be backported then, since the doxy mentions swr_init() can be used
> without swr_close(), so
On 03/06/15 10:47 PM, Michael Niedermayer wrote:
> This avoids leaks if the user doest call swr_close() after a failed init
This should be backported then, since the doxy mentions swr_init() can be used
without swr_close(), so quite a few cases probably exist by now.
>
> Found-by: jamrial
> Sign
This avoids leaks if the user doest call swr_close() after a failed init
Found-by: jamrial
Signed-off-by: Michael Niedermayer
---
libswresample/swresample.c | 34 --
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/libswresample/swresample.c b/lib