changeset 51:59e759d8c176 trunk

[svn] Fixed a crash in the cue plugin when no plugin is found / the file doesn't exist
author js
date Fri, 22 Sep 2006 14:18:37 -0700
parents ea473b7f6afe
children ac74515f80c1
files ChangeLog src/cue/cuesheet.c
diffstat 2 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Sep 21 14:14:05 2006 -0700
+++ b/ChangeLog	Fri Sep 22 14:18:37 2006 -0700
@@ -1,3 +1,12 @@
+2006-09-21 21:14:05 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [100]
+  - allow jack to be forcefully disabled
+  
+
+  Changes:        Modified:
+  +2 -2           trunk/configure.ac  
+
+
 2006-09-21 20:50:27 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [98]
   Sync with upstream. Buffer overflow fix.
--- a/src/cue/cuesheet.c	Thu Sep 21 14:14:05 2006 -0700
+++ b/src/cue/cuesheet.c	Fri Sep 22 14:18:37 2006 -0700
@@ -211,9 +211,11 @@
 	gtk_timeout_remove(timeout_tag);
 	free_cue_info();
 
-	real_ip->set_info = cue_ip.set_info;
-	real_ip->output = NULL;
-	real_ip = NULL;
+	if (real_ip != NULL) {
+		real_ip->set_info = cue_ip.set_info;
+		real_ip->output = NULL;
+		real_ip = NULL;
+	}
 }
 
 static void set_info_override(gchar * unused, gint length, gint rate, gint freq, gint nch)