Good morning. The patch in the attachment fixes a leak in expand_amble.
regards, Dmitry
diff --git a/braces.c b/braces.c
index 61c1ab1..c6d567f 100644
--- a/braces.c
+++ b/braces.c
@@ -319,6 +319,8 @@ expand_amble (text, tlen, flags)
if (tresult == 0)
{
internal_error (_("brace expansion: cannot allocate memory for
%s"), tem);
+ strvec_dispose (partial);
+ free (tem);
strvec_dispose (result);
result = (char **)NULL;
return result;
