projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bde09b
)
Erm, really do lazy allocation of fi->replacedSizes
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 19 Nov 2008 11:04:07 +0000
(13:04 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 19 Nov 2008 11:04:07 +0000
(13:04 +0200)
- this part was missing from
9bde09b59969088c06eb6f5b8a2597b2e04bd306
lib/rpmfi.c
patch
|
blob
|
history
diff --git
a/lib/rpmfi.c
b/lib/rpmfi.c
index
ee16319
..
2bfedbf
100644
(file)
--- a/
lib/rpmfi.c
+++ b/
lib/rpmfi.c
@@
-1353,8
+1353,6
@@
rpmfi rpmfiNew(const rpmts ts, Header h, rpmTag tagN, rpmfiFlags flags)
if (!(flags & RPMFI_NOFILEINODES))
_hgfi(h, RPMTAG_FILEINODES, &td, scareFlags, fi->finodes);
- fi->replacedSizes = xcalloc(fi->fc, sizeof(*fi->replacedSizes));
-
if (!(flags & RPMFI_NOFILEUSER))
_hgfi(h, RPMTAG_FILEUSERNAME, &td, defFlags, fi->fuser);
if (!(flags & RPMFI_NOFILEGROUP))