[brasero: 10/18] small fix for crash



commit 32a680e12e38d20c334448c854df688938a254aa
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Fri May 1 08:44:16 2009 +0200

    small fix for crash
---
 libbrasero-burn/brasero-track-data-cfg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libbrasero-burn/brasero-track-data-cfg.c b/libbrasero-burn/brasero-track-data-cfg.c
index 9cc5aeb..dcd3e7b 100644
--- a/libbrasero-burn/brasero-track-data-cfg.c
+++ b/libbrasero-burn/brasero-track-data-cfg.c
@@ -1590,7 +1590,7 @@ brasero_track_data_cfg_add_empty_directory (BraseroTrackDataCfg *track,
 		return NULL;
 
 	parent_node = brasero_track_data_cfg_path_to_node (track, parent);
-	if (parent_node->is_file)
+	if (parent_node && parent_node->is_file)
 		parent_node = parent_node->parent;
 
 	if (!name) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]