summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'rule.c')
-rw-r--r--rule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rule.c b/rule.c
index ea3031a..027aa29 100644
--- a/rule.c
+++ b/rule.c
@@ -183,7 +183,7 @@ convert_suffix_rule (target, source, cmds)
}
names = (char **) xmalloc (2 * sizeof (char *));
- percents = (char **) xmalloc (2 * sizeof (char *));
+ percents = (char **) alloca (2 * sizeof (char *));
names[0] = percents[0] = targname;
names[1] = percents[1] = 0;