changeset 3163:26a2c237ef53

alsa-ng: Destroy the ringbuffer when the plugin closes.
author William Pitcock <nenolod@atheme.org>
date Thu, 14 May 2009 21:08:03 -0500
parents e387614b9be9
children adec82db531c
files src/alsa-ng/alsa-core.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alsa-ng/alsa-core.c	Thu May 14 21:05:11 2009 -0500
+++ b/src/alsa-ng/alsa-core.c	Thu May 14 21:08:03 2009 -0500
@@ -167,6 +167,7 @@
     wr_total = 0;
     wr_hwframes = 0;
     bps = 0;
+    alsaplug_ringbuffer_destroy(&pcm_ringbuf);
 }
 
 static void