Commit 05eff32d authored by Christophe Massiot's avatar Christophe Massiot
Browse files

Fixed a memory leak (thanks Andy Lindsay !).

parent e03c2c0d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* dec.c : audio output API towards decoders * dec.c : audio output API towards decoders
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: dec.c,v 1.10 2003/05/22 16:01:02 gbazin Exp $ * $Id: dec.c,v 1.11 2003/07/31 23:14:32 massiot Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -125,8 +125,6 @@ static aout_input_t * DecNew( vlc_object_t * p_this, aout_instance_t * p_aout, ...@@ -125,8 +125,6 @@ static aout_input_t * DecNew( vlc_object_t * p_this, aout_instance_t * p_aout,
return NULL; return NULL;
} }
aout_MixerNew( p_aout );
aout_InputNew( p_aout, p_input ); aout_InputNew( p_aout, p_input );
vlc_mutex_unlock( &p_aout->mixer_lock ); vlc_mutex_unlock( &p_aout->mixer_lock );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment