1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

Memleaks in Equalizer callback and Mac OS X audio module.

(cherry picked from commit 1d3b0ce24c9de1a35ca96addfffa2cd25ccd30fb)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
Derk-Jan Hartman 2009-05-28 15:41:31 +02:00 committed by Jean-Baptiste Kempf
parent 2064a8566d
commit 1f374e04e9
2 changed files with 2 additions and 0 deletions

View File

@ -531,6 +531,7 @@ static int PresetCallback( vlc_object_t *p_this, char const *psz_cmd,
free( psz_newbands );
return VLC_ENOMEM;
}
free( psz_newbands );
psz_newbands = psz;
}
if( p_sys->b_first == false )

View File

@ -993,6 +993,7 @@ static void Probe( aout_instance_t * p_aout )
if( !AudioDeviceHasOutput( p_devices[i]) )
{
msg_Dbg( p_aout, "this device is INPUT only. skipping..." );
free( psz_name );
continue;
}