]> git.sesse.net Git - vlc/commitdiff
* input.c: fix invalid free.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 8 Oct 2005 23:06:34 +0000 (23:06 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 8 Oct 2005 23:06:34 +0000 (23:06 +0000)
src/input/input.c

index fa808f85115ed8b8a3d077a3b37d1c34a94d959f..a6a83966b130767c2e4a0c8b3aadf4273edc414c 100644 (file)
@@ -1945,7 +1945,6 @@ static int InputSourceInit( input_thread_t *p_input,
 
         if( psz_forced_demux && *psz_forced_demux )
         {
-            if( psz_demux ) free( psz_demux );
             psz_demux = psz_forced_demux;
         }
         else if( !psz_demux || *psz_demux == '\0' )