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

Sangchul Lee sangchul1011 at gmail.com
Thu May 3 16:27:21 UTC 2018


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;
 }
 
-- 
2.7.4



More information about the pulseaudio-discuss mailing list