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:
parent
2064a8566d
commit
1f374e04e9
@ -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 )
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user