diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-05-07 08:32:36 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-05-07 08:32:36 +0300 |
commit | 16d0a2fa29df88689fc56ef271a2538a5ca1cba6 (patch) | |
tree | de63043bdcd13a08849280b0e53a12e2d8d9c24b /build | |
parent | e907b912f9e237bc840d714e4e03f4d26deafe0c (diff) | |
download | rpm-16d0a2fa29df88689fc56ef271a2538a5ca1cba6.tar.gz rpm-16d0a2fa29df88689fc56ef271a2538a5ca1cba6.tar.bz2 rpm-16d0a2fa29df88689fc56ef271a2538a5ca1cba6.zip |
rpmfi actions is already alloced by rpmfiNew(), don't leak memory
Diffstat (limited to 'build')
-rw-r--r-- | build/files.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c index e7074dd82..fad6720b4 100644 --- a/build/files.c +++ b/build/files.c @@ -1204,7 +1204,6 @@ static void genCpioListAndHeader(FileList fl, a = (char *)(fi->apath + fi->fc); *a = '\0'; - fi->actions = xcalloc(sizeof(*fi->actions), fi->fc); fi->fmapflags = xcalloc(sizeof(*fi->fmapflags), fi->fc); fi->astriplen = 0; if (fl->buildRoot) |