return rpmpsmStage(psm, psm->nstage);
}
-/* FIX: testing null annotation for fi->h */
rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage)
{
const rpmts ts = psm->ts;
}
if (psm->goal == PSM_PKGERASE) {
psm->scriptArg = psm->npkgs_installed - 1;
- /* XXX preserve RPMDB_LOAD behavior for now */
- fi->h = rpmteHeader(psm->te);
}
break;
case PSM_PRE:
if (psm->goal == PSM_PKGERASE) {
if (psm->te != NULL)
rpmteSetHeader(psm->te, NULL);
- if (fi->h != NULL)
- fi->h = headerFree(fi->h);
}
psm->failedFile = _free(psm->failedFile);
break;
}
- /* FIX: psm->oh and psm->fi->h may be NULL. */
return rc;
}