]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 c8a80cf198224e0bc80b84e5c4f3c33c2f9324f5..a7bea9fa1ef7e195a247da6a5c76ad1d9adaa83a 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);
 }
 
 /**