Fix double free in af_resample when reinited with suitable parameters

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21033 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2006-11-18 17:07:17 +00:00
parent 484e74e9d6
commit 97be0637b6
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg)
if(s->xq[i])
free(s->xq[i]);
free(s->xq);
s->xq = NULL;
}
if(AF_DETACH == (rv = set_types(af,n)))