diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-05-07 11:33:33 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-05-07 11:33:33 +0300 |
commit | 31724be2f63b286d8684d72d62a7a19d1233143b (patch) | |
tree | e44e049fabef5731b47d1f21f7a9e4d7dbd38cae | |
parent | 15e9e1ff64aaf986ab0dd97b9b12c3d4fb22a484 (diff) | |
download | rpm-31724be2f63b286d8684d72d62a7a19d1233143b.tar.gz rpm-31724be2f63b286d8684d72d62a7a19d1233143b.tar.bz2 rpm-31724be2f63b286d8684d72d62a7a19d1233143b.zip |
Oops, plug leak introduced by previous commit
-rw-r--r-- | build/parsePrep.c | 4 |
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; } |