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:
uau 2007-02-10 17:27:11 +00:00
parent f1380572e1
commit b89e99cadc
1 changed files with 2 additions and 3 deletions

View File

@ -117,9 +117,8 @@ 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->audio);
free(af->data);
if(af->setup)
free(af->setup);