[pulseaudio-discuss] [PATCH] rtp-send: remove dead code

Tanu Kaskinen tanuk at iki.fi
Fri May 4 14:28:36 UTC 2018


On Fri, 2018-05-04 at 01:27 +0900, Sangchul Lee wrote:
> From: Sangchul Lee <sangchul1011 at gmail.com>
> 
> Signed-off-by: Sangchul Lee <sc11.lee at samsung.com>
> ---
>  src/modules/rtp/module-rtp-send.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/src/modules/rtp/module-rtp-send.c b/src/modules/rtp/module-rtp-send.c
> index ceb6df5..61900c0 100644
> --- a/src/modules/rtp/module-rtp-send.c
> +++ b/src/modules/rtp/module-rtp-send.c
> @@ -514,11 +514,6 @@ fail:
>      if (sap_fd >= 0)
>          pa_close(sap_fd);
>  
> -    if (o) {
> -        pa_source_output_unlink(o);
> -        pa_source_output_unref(o);
> -    }
> -
>      return -1;
>  }

Thanks! Applied to the "next" branch.

-- 
Tanu

https://liberapay.com/tanuk
https://www.patreon.com/tanuk


More information about the pulseaudio-discuss mailing list