summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorewt <devnull@localhost>1999-03-06 15:16:34 +0000
committerewt <devnull@localhost>1999-03-06 15:16:34 +0000
commit7f62e74a3fc881e9b907bfbfc894f5ec38e8d56b (patch)
tree539ead178b9137ca3b1681c919eede3a2a6d286b /lib
parentd3c3f654f19e8fef2d9a8f8721ba29ad70d13816 (diff)
downloadrpm-7f62e74a3fc881e9b907bfbfc894f5ec38e8d56b.tar.gz
rpm-7f62e74a3fc881e9b907bfbfc894f5ec38e8d56b.tar.bz2
rpm-7f62e74a3fc881e9b907bfbfc894f5ec38e8d56b.zip
removed double frees
CVS patchset: 2859 CVS date: 1999/03/06 15:16:34
Diffstat (limited to 'lib')
-rw-r--r--lib/transaction.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/transaction.c b/lib/transaction.c
index 770d8e26d..d9b130c59 100644
--- a/lib/transaction.c
+++ b/lib/transaction.c
@@ -452,9 +452,6 @@ int rpmRunTransactions(rpmTransactionSet ts, rpmCallbackFunction notify,
if (!alp->fd && fd)
notify(fi->h, RPMCALLBACK_INST_CLOSE_FILE, 0, 0, alp->key,
notifyData);
-
- freeFi(fi); /* XXX ==> LEAK */
-
}
NOTIFY((NULL, RPMCALLBACK_TRANS_STOP, 9, al->size, NULL, notifyData));
@@ -471,9 +468,6 @@ int rpmRunTransactions(rpmTransactionSet ts, rpmCallbackFunction notify,
flags, fi->actions, ts->scriptFd))
ourrc++;
-
- freeFi(fi); /* XXX ==> LEAK */
-
}
NOTIFY((NULL, RPMCALLBACK_UNINST_STOP, 0, ts->numRemovedPackages,