summaryrefslogtreecommitdiff
path: root/Build/source/texk/gregorio/gregorio-src/src/struct.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-29 23:10:03 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-29 23:10:03 +0000
commitf281e35ba5b0fdd1bacb0f9736ba138aa42ce189 (patch)
treea9914182d36f301681c61d525eb00ffa033b7c6b /Build/source/texk/gregorio/gregorio-src/src/struct.c
parent94b2599d4a7aece204089a48207bee187c455ec4 (diff)
gregorio 4.0.1
git-svn-id: svn://tug.org/texlive/trunk@39231 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/gregorio/gregorio-src/src/struct.c')
-rw-r--r--Build/source/texk/gregorio/gregorio-src/src/struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/gregorio/gregorio-src/src/struct.c b/Build/source/texk/gregorio/gregorio-src/src/struct.c
index 2130da6d45b..708ee38f41b 100644
--- a/Build/source/texk/gregorio/gregorio-src/src/struct.c
+++ b/Build/source/texk/gregorio/gregorio-src/src/struct.c
@@ -234,7 +234,7 @@ void gregorio_add_texverb_to_note(gregorio_note **current_note, char *str)
if (*current_note) {
if ((*current_note)->texverb) {
len = strlen((*current_note)->texverb) + strlen(str) + 1;
- res = gregorio_malloc(len * sizeof(char));
+ res = gregorio_malloc(len);
strcpy(res, (*current_note)->texverb);
strcat(res, str);
free((*current_note)->texverb);