alsa_shutdown(): free struct private_alsa_data
authorAndre <maan@p133.(none)>
Mon, 17 Apr 2006 20:54:02 +0000 (22:54 +0200)
committerAndre <maan@p133.(none)>
Mon, 17 Apr 2006 20:54:02 +0000 (22:54 +0200)
play.c

diff --git a/play.c b/play.c
index c8a80cf..a7bea9f 100644 (file)
--- a/play.c
+++ b/play.c
@@ -195,6 +195,7 @@ static void alsa_shutdown(void *private_data)
        snd_pcm_drain(pad->handle);
        snd_pcm_close(pad->handle);
        snd_config_update_free_global();
+       free(pad);
 }
 
 /**