[vlc-commits] sout/rtsp: remove senseless free

Zhao Zhili git at videolan.org
Fri Dec 11 09:55:30 CET 2015


vlc | branch: master | Zhao Zhili <wantlamy at gmail.com> | Fri Dec 11 12:11:50 2015 +0800| [64d1913f86cc4a81de56a3d538e32073aeb0fcd6] | committer: Jean-Baptiste Kempf

sout/rtsp: remove senseless free

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/stream_out/rtsp.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/stream_out/rtsp.c b/modules/stream_out/rtsp.c
index 0939d5e..639e415 100644
--- a/modules/stream_out/rtsp.c
+++ b/modules/stream_out/rtsp.c
@@ -91,7 +91,6 @@ rtsp_stream_t *RtspSetup( vlc_object_t *owner, vod_media_t *media,
 
     if( rtsp == NULL )
     {
-        free( rtsp );
         return NULL;
     }
 



More information about the vlc-commits mailing list