[gnome-settings-daemon] color: Fix a potential crash if creating the per-user ICC directory fails
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] color: Fix a potential crash if creating the per-user ICC directory fails
- Date: Thu, 4 Aug 2011 17:20:17 +0000 (UTC)
commit d38a664a2ad8bcfc6fd1bd3c2e8420fdfdfb9e00
Author: Richard Hughes <richard hughsie com>
Date: Thu Aug 4 18:04:02 2011 +0100
color: Fix a potential crash if creating the per-user ICC directory fails
plugins/color/gsd-color-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/color/gsd-color-manager.c b/plugins/color/gsd-color-manager.c
index ce45791..326262a 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -546,7 +546,7 @@ gcm_apply_create_icc_profile_for_edid (GsdColorManager *manager,
cmsCIExyYTRIPLE chroma;
cmsCIExyY white_point;
cmsHPROFILE lcms_profile = NULL;
- cmsToneCurve *transfer_curve[3];
+ cmsToneCurve *transfer_curve[3] = { NULL, NULL, NULL };
const gchar *data;
gboolean ret = FALSE;
gchar *title = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]