]> git.sesse.net Git - vlc/commitdiff
* modules/mux/mp4.c:fixed a minor mem leak.
authorGildas Bazin <gbazin@videolan.org>
Thu, 6 May 2004 21:14:13 +0000 (21:14 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 6 May 2004 21:14:13 +0000 (21:14 +0000)
modules/mux/mp4.c

index 9fa0c2aa37795d4c65609d87c3c4a78509fcea76..6afe5f81a6659266815ec53119dc9b6238cfa6f5 100644 (file)
@@ -279,6 +279,7 @@ static void Close( vlc_object_t * p_this )
                 msg_Warn( p_this, "read() not supported by acces output, "
                           "won't create a fast start file" );
                 p_sys->b_fast_start = VLC_FALSE;
+                block_Release( p_buf );
                 break;
             }
             sout_AccessOutSeek( p_mux->p_access, p_sys->i_mdat_pos + i_size +