summaryrefslogtreecommitdiff
path: root/build/parsePrep.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r--build/parsePrep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index e3a76869a..04b3b4962 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -118,7 +118,9 @@ static char *doPatch(rpmSpec spec, int c, int strip, const char *db,
"%s\n",
strip, basename(fn), patchcmd);
- fn = _free(fn);
+ free(fn);
+ free(patchcmd);
+
return buf;
}