fixed minor memory leak
CVS patchset: 2989 CVS date: 1999/04/13 17:12:09
This commit is contained in:
parent
720cfa506d
commit
6ca17d58f4
|
@ -614,6 +614,7 @@ void rpmProblemSetFree(rpmProblemSet probs) {
|
||||||
for (i = 0; i < probs->numProblems; i++) {
|
for (i = 0; i < probs->numProblems; i++) {
|
||||||
headerFree(probs->probs[i].h);
|
headerFree(probs->probs[i].h);
|
||||||
if (probs->probs[i].str1) free(probs->probs[i].str1);
|
if (probs->probs[i].str1) free(probs->probs[i].str1);
|
||||||
|
if (probs->probs[i].altH) headerFree(probs->probs[i].altH);
|
||||||
}
|
}
|
||||||
free(probs);
|
free(probs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue