projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e907b91
)
rpmfi actions is already alloced by rpmfiNew(), don't leak memory
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 7 May 2008 05:32:36 +0000
(08:32 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 7 May 2008 05:32:36 +0000
(08:32 +0300)
build/files.c
patch
|
blob
|
history
diff --git
a/build/files.c
b/build/files.c
index
e7074dd
..
fad6720
100644
(file)
--- 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)