diff libaf/af_surround.c @ 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 cea0eb833758
children fd6f824ef894
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...