# HG changeset patch # User William Pitcock # Date 1242353283 18000 # Node ID 26a2c237ef5310f3af99c933c9ed7da47e59349b # Parent e387614b9be9ea579eaa2d425db4b27a3ecd5963 alsa-ng: Destroy the ringbuffer when the plugin closes. diff -r e387614b9be9 -r 26a2c237ef53 src/alsa-ng/alsa-core.c --- 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