diff options
author | ewt <devnull@localhost> | 1996-08-07 15:46:22 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-08-07 15:46:22 +0000 |
commit | a91d2e03d41eea23f693ca00b8d07caa90176a66 (patch) | |
tree | 7ebedfafc276d065fba8bb1327b181d6961630ea /install.c | |
parent | d5d07197fc0c6a3d913c5c75424e10b049f3820c (diff) | |
download | librpm-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.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; } |