From 6ca17d58f45fc8815e88bdd75d376910b8687b4b Mon Sep 17 00:00:00 2001 From: ewt Date: Tue, 13 Apr 1999 17:12:09 +0000 Subject: [PATCH] fixed minor memory leak CVS patchset: 2989 CVS date: 1999/04/13 17:12:09 --- lib/transaction.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/transaction.c b/lib/transaction.c index 398d8a2..723750e 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -614,6 +614,7 @@ void rpmProblemSetFree(rpmProblemSet probs) { for (i = 0; i < probs->numProblems; i++) { headerFree(probs->probs[i].h); if (probs->probs[i].str1) free(probs->probs[i].str1); + if (probs->probs[i].altH) headerFree(probs->probs[i].altH); } free(probs); } -- 2.7.4