added support for rpmdepFreeConflicts()

CVS patchset: 941
CVS date: 1996/08/07 15:46:22
This commit is contained in:
ewt 1996-08-07 15:46:22 +00:00
parent d5d07197fc
commit a91d2e03d4
1 changed files with 2 additions and 4 deletions

View File

@ -238,8 +238,7 @@ int doInstall(char * rootdir, char ** argv, char * location, int installFlags,
if (!stopInstall && conflicts) {
fprintf(stderr, "failed dependencies:\n");
printDepProblems(stderr, conflicts, numConflicts);
free(conflicts);
rpmdepFreeConflicts(conflicts, numConflicts);
numFailed = numPackages;
stopInstall = 1;
}
@ -341,8 +340,7 @@ int doUninstall(char * rootdir, char ** argv, int uninstallFlags,
fprintf(stderr, "removing these packages would break "
"dependencies:\n");
printDepProblems(stderr, conflicts, numConflicts);
free(conflicts);
rpmdepFreeConflicts(conflicts, numConflicts);
numFailed += numPackages;
stopUninstall = 1;
}