changeset 1111:c1e1c894fa0b trunk

[svn] - remove g_free(description) in cleanup functions to avoid crash on quit.
author yaz
date Fri, 25 May 2007 01:55:15 -0700
parents 3604b510fe85
children 6674f72343e7
files ChangeLog src/OSS/OSS.c src/alsa/alsa.c src/timidity/src/xmms-timidity.c src/vorbis/vorbis.c
diffstat 5 files changed, 8 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 25 00:42:15 2007 -0700
+++ b/ChangeLog	Fri May 25 01:55:15 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 07:42:15 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [2386]
+  - build fix.
+  
+  trunk/src/ladspa/ladspa.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-05-25 06:50:52 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2384]
   - voice_removal: convert to plugin API v2
--- a/src/OSS/OSS.c	Fri May 25 00:42:15 2007 -0700
+++ b/src/OSS/OSS.c	Fri May 25 01:55:15 2007 -0700
@@ -53,9 +53,6 @@
 
 void oss_cleanup(void)
 {
-    g_free(oss_op.description);
-    oss_op.description = NULL;
-
     if (oss_cfg.alt_audio_device) {
         free(oss_cfg.alt_audio_device);
         oss_cfg.alt_audio_device = NULL;
--- a/src/alsa/alsa.c	Fri May 25 00:42:15 2007 -0700
+++ b/src/alsa/alsa.c	Fri May 25 01:55:15 2007 -0700
@@ -48,9 +48,6 @@
 
 void alsa_cleanup(void)
 {
-	g_free(alsa_op.description);
-	alsa_op.description = NULL;
-
 	if (alsa_cfg.pcm_device) {
 		free(alsa_cfg.pcm_device);
 		alsa_cfg.pcm_device = NULL;
--- a/src/timidity/src/xmms-timidity.c	Fri May 25 00:42:15 2007 -0700
+++ b/src/timidity/src/xmms-timidity.c	Fri May 25 01:55:15 2007 -0700
@@ -427,9 +427,6 @@
 }
 
 void xmmstimid_cleanup(void) {
-	g_free(xmmstimid_ip.description);
-	xmmstimid_ip.description = NULL;
-
 	if (xmmstimid_cfg.config_file) {
 		free(xmmstimid_cfg.config_file);
 		xmmstimid_cfg.config_file = NULL;
--- a/src/vorbis/vorbis.c	Fri May 25 00:42:15 2007 -0700
+++ b/src/vorbis/vorbis.c	Fri May 25 01:55:15 2007 -0700
@@ -959,9 +959,6 @@
 static void
 vorbis_cleanup(void)
 {
-    g_free(vorbis_ip.description);
-    vorbis_ip.description = NULL;
-
     if (vorbis_cfg.save_http_path) {
         free(vorbis_cfg.save_http_path);
         vorbis_cfg.save_http_path = NULL;