diff options
author | ewt <devnull@localhost> | 1996-10-21 01:22:12 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-10-21 01:22:12 +0000 |
commit | 1e63efe01ed81252882b188d405554f07b3cf97b (patch) | |
tree | 1c123207fa6cd74bdedb0e07fb1c2d6541b56fc3 /install.c | |
parent | e513460a43c3a25b3365b98191ff7dccac66a4c7 (diff) | |
download | librpm-tizen-1e63efe01ed81252882b188d405554f07b3cf97b.tar.gz librpm-tizen-1e63efe01ed81252882b188d405554f07b3cf97b.tar.bz2 librpm-tizen-1e63efe01ed81252882b188d405554f07b3cf97b.zip |
1) free binaryHeaders w/ done with installs
2) free rpmdep structures in both install and uninstall
CVS patchset: 1118
CVS date: 1996/10/21 01:22:12
Diffstat (limited to 'install.c')
-rw-r--r-- | install.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -235,6 +235,8 @@ int doInstall(char * rootdir, char ** argv, char * location, int installFlags, stopInstall = 1; } + rpmdepDone(rpmdep); + if (!stopInstall && conflicts) { fprintf(stderr, "failed dependencies:\n"); printDepProblems(stderr, conflicts, numConflicts); @@ -256,6 +258,9 @@ int doInstall(char * rootdir, char ** argv, char * location, int installFlags, for (i = 0; i < numTmpPackages; i++) unlink(tmpPackages[i]); + for (i = 0; i < numBinaryPackages; i++) + freeHeader(binaryHeaders[i]); + if (db) rpmdbClose(db); return numFailed; @@ -336,6 +341,8 @@ int doUninstall(char * rootdir, char ** argv, int uninstallFlags, stopUninstall = 1; } + rpmdepDone(rpmdep); + if (!stopUninstall && conflicts) { fprintf(stderr, "removing these packages would break " "dependencies:\n"); |