Fix nonsense tests like previously in af_pan.

Probably no practical effect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22194 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2007-02-10 17:31:18 +00:00
parent b89e99cadc
commit 6ffcc5caa5
1 changed files with 3 additions and 5 deletions

View File

@ -150,12 +150,10 @@ 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);
if(af->setup)
free(af->setup);
free(af->data->audio);
free(af->data);
free(af->setup);
}
// The beginnings of an active matrix...