Commit 1d3b0ce2 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

Memleaks in Equalizer callback and Mac OS X audio module.

parent ca17039c
......@@ -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