projects
/
m17n
/
libotf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e494d4
)
(read_class_set_list): Allocate the array *set
author
handa
<handa>
Thu, 8 Jul 2004 02:43:48 +0000
(
02:43
+0000)
committer
handa
<handa>
Thu, 8 Jul 2004 02:43:48 +0000
(
02:43
+0000)
by OTF_CALLOC.
src/otfopen.c
patch
|
blob
|
history
diff --git
a/src/otfopen.c
b/src/otfopen.c
index
f6a0832
..
7b6288b
100644
(file)
--- a/
src/otfopen.c
+++ b/
src/otfopen.c
@@
-1351,7
+1351,7
@@
read_class_set_list (OTF *otf, OTF_Stream *stream, long offset,
READ_UINT16 (stream, count);
if (! count)
OTF_ERROR (OTF_ERROR_TABLE, " (zero count)");
- OTF_MALLOC (*set, count, "");
+ OTF_CALLOC (*set, count, "");
for (i = 0; i < count; i++)
/* Offset can be zero. */
READ_OFFSET (stream, (*set)[i].offset);