mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
Fix nonsense tests ("if (af->data->audio)" before "if (af->data)").
Probably doesn't matter in practice. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22193 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f1380572e1
commit
b89e99cadc
@ -117,10 +117,9 @@ static int control(struct af_instance_s* af, int cmd, void* arg)
|
||||
// Deallocate memory
|
||||
static void uninit(struct af_instance_s* af)
|
||||
{
|
||||
if(af->data->audio)
|
||||
free(af->data->audio);
|
||||
if(af->data)
|
||||
free(af->data);
|
||||
free(af->data->audio);
|
||||
free(af->data);
|
||||
if(af->setup)
|
||||
free(af->setup);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user