brasero r1428 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1428 - in trunk: . src
- Date: Mon, 27 Oct 2008 13:30:13 +0000 (UTC)
Author: philippr
Date: Mon Oct 27 13:30:13 2008
New Revision: 1428
URL: http://svn.gnome.org/viewvc/brasero?rev=1428&view=rev
Log:
Fix a crash when an audio/video file isn\'t loaded yet or hasn\'t got any
BraseroSongInfo and we\'re trying to save the project contents.
* src/burn-track.c (brasero_song_info_copy):
Modified:
trunk/ChangeLog
trunk/src/burn-track.c
Modified: trunk/src/burn-track.c
==============================================================================
--- trunk/src/burn-track.c (original)
+++ trunk/src/burn-track.c Mon Oct 27 13:30:13 2008
@@ -128,6 +128,9 @@
{
BraseroSongInfo *copy;
+ if (!info)
+ return NULL;
+
copy = g_new0 (BraseroSongInfo, 1);
copy->title = g_strdup (info->title);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]