summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmake/make.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dmake/make.c b/dmake/make.c
index ebff575d5c8e..ad7f4171435f 100644
--- a/dmake/make.c
+++ b/dmake/make.c
@@ -1044,6 +1044,7 @@ char *pat;
cmp1 = DmStrPbrk(pfx,DirBrkStr);
result = DmStrJoin(result,up,-1,TRUE);
}
+ FREE(up);
pat = DmStrSpn(pat,DirBrkStr);
/* Append pat to result. */