summaryrefslogtreecommitdiff
path: root/install.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-08-07 15:46:22 +0000
committerewt <devnull@localhost>1996-08-07 15:46:22 +0000
commita91d2e03d41eea23f693ca00b8d07caa90176a66 (patch)
tree7ebedfafc276d065fba8bb1327b181d6961630ea /install.c
parentd5d07197fc0c6a3d913c5c75424e10b049f3820c (diff)
downloadlibrpm-tizen-a91d2e03d41eea23f693ca00b8d07caa90176a66.tar.gz
librpm-tizen-a91d2e03d41eea23f693ca00b8d07caa90176a66.tar.bz2
librpm-tizen-a91d2e03d41eea23f693ca00b8d07caa90176a66.zip
added support for rpmdepFreeConflicts()
CVS patchset: 941 CVS date: 1996/08/07 15:46:22
Diffstat (limited to 'install.c')
-rw-r--r--install.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/install.c b/install.c
index 65afa0fb6..5aa471188 100644
--- a/install.c
+++ b/install.c
@@ -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;
}