--- a/src/main.c Wed Jun 24 02:41:12 2009 +0000 +++ b/src/main.c Thu Jun 25 01:09:42 2009 +0000 @@ -265,9 +265,10 @@ } if( gdrom_get_current_disc() == NULL ) { - const gchar *disc_file = lxdream_get_config_value( CONFIG_GDROM ); + gchar *disc_file = lxdream_get_global_config_path_value( CONFIG_GDROM ); if( disc_file != NULL ) { gdrom_mount_image( disc_file ); + g_free(disc_file); } }