summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-05-07 08:32:36 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-05-07 08:32:36 +0300
commit16d0a2fa29df88689fc56ef271a2538a5ca1cba6 (patch)
treede63043bdcd13a08849280b0e53a12e2d8d9c24b /build
parente907b912f9e237bc840d714e4e03f4d26deafe0c (diff)
downloadrpm-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.c1
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)