[vlc-commits] rtp: fix leak

Rémi Denis-Courmont git at videolan.org
Sun Apr 26 11:06:20 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 26 11:47:44 2020 +0300| [c38cd5d43e07f5066203693bb72737c6fadddf48] | committer: Rémi Denis-Courmont

rtp: fix leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c38cd5d43e07f5066203693bb72737c6fadddf48
---

 modules/access/rtp/rtp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/access/rtp/rtp.c b/modules/access/rtp/rtp.c
index bd1fcb248a..25c0e2725b 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -312,6 +312,7 @@ static int OpenSDP(vlc_object_t *obj)
 
 error:
     Close (obj);
+    vlc_sdp_free(sdp);
     return VLC_EGENERIC;
 }
 



More information about the vlc-commits mailing list