diff options
Diffstat (limited to 'xicc/ccmx.c')
-rwxr-xr-x | xicc/ccmx.c | 7 |
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) |