fixed minor memory leak

CVS patchset: 2989
CVS date: 1999/04/13 17:12:09
This commit is contained in:
ewt 1999-04-13 17:12:09 +00:00
parent 720cfa506d
commit 6ca17d58f4
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}