summaryrefslogtreecommitdiff
path: root/lib/rpmfi.c
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2007-06-21 08:57:01 +0100
committerPaul Nasrat <pnasrat@redhat.com>2007-06-21 08:57:01 +0100
commitb363333f5d04cfd14b1b514a499cddf5a1aea6db (patch)
tree55f2abcbee04dccd7a9b31f3ceb741d516ed2634 /lib/rpmfi.c
parentc44738eae897466e8496efd4b75b5116dd4e6a97 (diff)
downloadrpm-b363333f5d04cfd14b1b514a499cddf5a1aea6db.tar.gz
rpm-b363333f5d04cfd14b1b514a499cddf5a1aea6db.tar.bz2
rpm-b363333f5d04cfd14b1b514a499cddf5a1aea6db.zip
Initialise replaced on rpmfiNew
Diffstat (limited to 'lib/rpmfi.c')
-rw-r--r--lib/rpmfi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c
index 38bee29a3..9708df30f 100644
--- a/lib/rpmfi.c
+++ b/lib/rpmfi.c
@@ -1335,6 +1335,7 @@ if (fi->actions == NULL)
xx = hge(h, RPMTAG_FILEINODES, NULL, (void **) &fi->finodes, NULL);
xx = hge(h, RPMTAG_FILECONTEXTS, NULL, (void **) &fi->fcontexts, NULL);
+ fi->replaced = NULL;
fi->replacedSizes = xcalloc(fi->fc, sizeof(*fi->replacedSizes));
xx = hge(h, RPMTAG_FILEUSERNAME, NULL, (void **) &fi->fuser, NULL);