changeset 22176:1641bab78356

Fix nonsense tests like previously in af_pan. Probably no practical effect.
author uau
date Sat, 10 Feb 2007 17:31:18 +0000
parents 105f32787336
children 853b5234e4d4
files libaf/af_surround.c
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af_surround.c	Sat Feb 10 17:27:11 2007 +0000
+++ b/libaf/af_surround.c	Sat Feb 10 17:31:18 2007 +0000
@@ -150,12 +150,10 @@
 // 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);
-  if(af->setup)
-    free(af->setup);
+  free(af->data);
+  free(af->setup);
 }
 
 // The beginnings of an active matrix...