summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-05-07 11:33:33 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-05-07 11:33:33 +0300
commit31724be2f63b286d8684d72d62a7a19d1233143b (patch)
treee44e049fabef5731b47d1f21f7a9e4d7dbd38cae /build
parent15e9e1ff64aaf986ab0dd97b9b12c3d4fb22a484 (diff)
downloadrpm-31724be2f63b286d8684d72d62a7a19d1233143b.tar.gz
rpm-31724be2f63b286d8684d72d62a7a19d1233143b.tar.bz2
rpm-31724be2f63b286d8684d72d62a7a19d1233143b.zip
Oops, plug leak introduced by previous commit
Diffstat (limited to 'build')
-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;
}