summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2013-07-30 13:48:20 +0100
committerRichard Hughes <richard@hughsie.com>2013-07-30 13:48:20 +0100
commitefea2861e9cccce0d8f86c542d513dfb685af0cc (patch)
tree67e52ba987ab31ea58078e0c239dcc77cec9cfbf
parent500be2485cd8143f3f8a5cb052b641d899014950 (diff)
downloadcolord-efea2861e9cccce0d8f86c542d513dfb685af0cc.tar.gz
Fix an error when building the print profiles
-rw-r--r--client/cd-create-profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/cd-create-profile.c b/client/cd-create-profile.c
index 528d58a..60c67b4 100644
--- a/client/cd-create-profile.c
+++ b/client/cd-create-profile.c
@@ -267,7 +267,7 @@ cd_util_create_colprof (CdUtilPrivate *priv,
goto out;
/* open /tmp/$basename.icc as hProfile */
- priv->lcms_profile = cmsOpenProfileFromMem (data, len);
+ priv->lcms_profile = cmsOpenProfileFromMemTHR (priv->icc, data, len);
if (priv->lcms_profile == NULL) {
ret = FALSE;
g_set_error (error, 1, 0,