summaryrefslogtreecommitdiffstats
path: root/libao2/ao_sun.c
diff options
context:
space:
mode:
Diffstat (limited to 'libao2/ao_sun.c')
-rw-r--r--libao2/ao_sun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_sun.c b/libao2/ao_sun.c
index 10cc87e1b0..ef8417c5f9 100644
--- a/libao2/ao_sun.c
+++ b/libao2/ao_sun.c
@@ -227,7 +227,7 @@ static int realtime_samplecounter_available(char *dev)
error:
- if (silence != NULL) free(silence);
+ free(silence);
if (fd >= 0) {
// remove the 0 bytes from the above measurement from the
// audio driver's STREAMS queue