Commit 1f374e04 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman Committed by Jean-Baptiste Kempf

Memleaks in Equalizer callback and Mac OS X audio module.

(cherry picked from commit 1d3b0ce24c9de1a35ca96addfffa2cd25ccd30fb)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2064a856
......@@ -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;
}
......
Markdown is supported
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