brasero r1493 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1493 - in trunk: . src
- Date: Sat, 8 Nov 2008 14:11:28 +0000 (UTC)
Author: philippr
Date: Sat Nov 8 14:11:28 2008
New Revision: 1493
URL: http://svn.gnome.org/viewvc/brasero?rev=1493&view=rev
Log:
Fix rare crash
* src/brasero-io.c (brasero_io_get_metadata_info):
Modified:
trunk/ChangeLog
trunk/src/brasero-io.c
Modified: trunk/src/brasero-io.c
==============================================================================
--- trunk/src/brasero-io.c (original)
+++ trunk/src/brasero-io.c Sat Nov 8 14:11:28 2008
@@ -825,6 +825,13 @@
metadata_iter = iter->data;
metadata_uri = brasero_metadata_get_uri (metadata_iter);
+ if (!metadata_uri) {
+ /* It could a metadata that was running but failed to
+ * retrieve anything and is waiting to be inserted back
+ * in the available list. Ignore it. */
+ continue;
+ }
+
metadata_flags = brasero_metadata_get_flags (metadata_iter);
if (((flags & metadata_flags) == flags)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]