3
# Date 1363852330 -14400
4
# Node ID 4047e9efcbd0966d8cc15d51f9b25ae5b141e239
5
# Parent a7299af2af32c38eef541180e26f4aac7d79bff8
6
8007927: Improve cmsAllocProfileSequenceDescription
8
Index: lcms2-2.2+git20110628/src/cmsnamed.c
9
===================================================================
10
--- lcms2-2.2+git20110628.orig/src/cmsnamed.c 2013-07-01 11:02:26.000000000 -0500
11
+++ lcms2-2.2+git20110628/src/cmsnamed.c 2013-07-01 11:03:56.000000000 -0500
13
Seq -> seq = (cmsPSEQDESC*) _cmsCalloc(ContextID, n, sizeof(cmsPSEQDESC));
16
+ if (Seq -> seq == NULL) {
17
+ _cmsFree(ContextID, Seq);
21
for (i=0; i < n; i++) {
22
Seq -> seq[i].Manufacturer = NULL;