]> git.sesse.net Git - vlc/commitdiff
* modules/demux/livedotcom.cpp: fixed small leak.
authorGildas Bazin <gbazin@videolan.org>
Sun, 18 Sep 2005 16:20:24 +0000 (16:20 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 18 Sep 2005 16:20:24 +0000 (16:20 +0000)
modules/demux/livedotcom.cpp

index e59aa95cb805d7c203ee17541d298c68c85f0ffe..d0fb0d5e1597771c43471039c3b1088e20e3504d 100644 (file)
@@ -390,6 +390,7 @@ static int  Open ( vlc_object_t *p_this )
         if( !p_sys->rtsp->playMediaSession( *p_sys->ms ) )
         {
             msg_Err( p_demux, "PLAY failed %s", p_sys->env->getResultMsg() );
+            delete iter;
             goto error;
         }
     }