summaryrefslogtreecommitdiff
path: root/dmake
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-16 12:54:18 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-16 15:37:30 +0200
commitc03eb3eefb503a028a0d073e3573a0821e7a05b0 (patch)
tree577efa4ba22e5ac527d93d056bd1ccef415dcd7c /dmake
parent699d119f7825b5b44f6dd6e3915a0f9584078b69 (diff)
free after use
Diffstat (limited to 'dmake')
-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. */