* 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 fa808f8..a6a8396 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' )