Initialise replaced on rpmfiNew

This commit is contained in:
Paul Nasrat 2007-06-21 08:57:01 +01:00
parent c44738eae8
commit b363333f5d
1 changed files with 1 additions and 0 deletions

View File

@ -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);