[vlc-devel] [PATCH] gstreamer: fix memory leak

Shaleen Jain shaleen.jain95 at gmail.com
Mon Jul 24 10:42:38 CEST 2017


Merge this as well?
Not being able to handle a GstMessage is no reason to preempt closing 
the decoder.
Regards,
Shaleen Jain

On Mon, Jul 24, 2017 at 10:16 AM, Shaleen Jain 
<shaleen.jain95 at gmail.com> wrote:
> ---
>  modules/codec/gstreamer/gstdecode.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/modules/codec/gstreamer/gstdecode.c 
> b/modules/codec/gstreamer/gstdecode.c
> index 05aa500205..bbe6310291 100644
> --- a/modules/codec/gstreamer/gstdecode.c
> +++ b/modules/codec/gstreamer/gstdecode.c
> @@ -838,7 +838,6 @@ static void CloseDecoder( vlc_object_t *p_this )
>                  if( default_msg_handler( p_dec, p_msg ) )
>                  {
>                      msg_Err( p_dec, "pipeline may not close 
> gracefully" );
> -                    return;
>                  }
>                  break;
>              }
> --
> 2.13.3
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170724/1b02584b/attachment.html>


More information about the vlc-devel mailing list