commit | 947e0342f9537d864e063f776bf55db17b191bff | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Mon Aug 15 09:42:56 2016 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Mon Aug 15 09:42:56 2016 +0200 |
tree | bc3198e63901826fb1801c8cd055658e16eee90f | |
parent | 70292d27c49671fa23685ea9cc6b9aa7fbdd2ee9 [diff] |
yin parser BUGFIX copy-paste erro in processing if-features in refine
diff --git a/src/parser_yin.c b/src/parser_yin.c index b9ecacb..1ab81bc 100644 --- a/src/parser_yin.c +++ b/src/parser_yin.c
@@ -2599,7 +2599,7 @@ } } if (c_ftrs) { - rfn->iffeature = calloc(c_must, sizeof *rfn->iffeature); + rfn->iffeature = calloc(c_ftrs, sizeof *rfn->iffeature); if (!rfn->iffeature) { LOGMEM; goto error;