summaryrefslogtreecommitdiff
path: root/xicc/ccmx.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-07-11 22:19:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-07-11 22:19:56 +0200
commita0442ed58dee48a521ea053083ea967894507898 (patch)
tree241f3920c6a80d0bad494d3969ea98aabfef4b7d /xicc/ccmx.c
parentf6b8e0eae4374f339487a33e3e4fe5462d5816e1 (diff)
New upstream version 2.0.1+repackupstream/2.0.1+repackupstream
Diffstat (limited to 'xicc/ccmx.c')
-rwxr-xr-xxicc/ccmx.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/xicc/ccmx.c b/xicc/ccmx.c
index 7206f31..7a004d9 100755
--- a/xicc/ccmx.c
+++ b/xicc/ccmx.c
@@ -278,13 +278,6 @@ cgats *icg /* input cgats structure */
}
if ((ti = icg->find_kword(icg, 0, "OEM")) >= 0) {
- if ((p->ref = strdup(icg->t[0].kdata[ti])) == NULL) {
- sprintf(p->err, "read_ccmx: malloc failed");
- return 2;
- }
- }
-
- if ((ti = icg->find_kword(icg, 0, "OEM")) >= 0) {
if (stricmp(icg->t[0].kdata[ti], "YES") == 0)
p->oem = 1;
else if (stricmp(icg->t[0].kdata[ti], "NO") == 0)