Mercurial > mplayer.hg
changeset 22175:105f32787336
Fix nonsense tests ("if (af->data->audio)" before "if (af->data)").
Probably doesn't matter in practice.
author | uau |
---|---|
date | Sat, 10 Feb 2007 17:27:11 +0000 |
parents | a25747a97680 |
children | 1641bab78356 |
files | libaf/af_pan.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_pan.c Sat Feb 10 17:00:03 2007 +0000 +++ b/libaf/af_pan.c Sat Feb 10 17:27:11 2007 +0000 @@ -117,10 +117,9 @@ // Deallocate memory static void uninit(struct af_instance_s* af) { - if(af->data->audio) + if(af->data) free(af->data->audio); - if(af->data) - free(af->data); + free(af->data); if(af->setup) free(af->setup); }