diff src/CoreAudio/audio.c @ 41:f46ea650face trunk

[svn] - release the audio buffer used by HAL when we close the device.
author nenolod
date Wed, 20 Sep 2006 00:48:59 -0700
parents 3da1b8942b8b
children c852da081533
line wrap: on
line diff
--- a/src/CoreAudio/audio.c	Tue Sep 19 18:26:42 2006 -0700
+++ b/src/CoreAudio/audio.c	Wed Sep 20 00:48:59 2006 -0700
@@ -409,9 +409,11 @@
 	g_free(device_name);
 
 	//printf("osx_close(): playing_flag is now %d\n",playing_flag);
+
+	/* Free audio buffer */
+	g_free(buffer);
 }
 
-
 void osx_flush(gint time)
 {
 	//printf("osx_flush(): %d\n",time);