summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-05-07 01:07:41 +0000
committerjbj <devnull@localhost>2002-05-07 01:07:41 +0000
commitb4c604e75c8550c5e63d5a6781e03ef40b78cca4 (patch)
tree7e1fec430df03ac1a21a4c706cfc6cd2e2c6ff10 /rpmio
parente6ba507f771047db75773b166dc137b0a3e46ef7 (diff)
downloadlibrpm-tizen-b4c604e75c8550c5e63d5a6781e03ef40b78cca4.tar.gz
librpm-tizen-b4c604e75c8550c5e63d5a6781e03ef40b78cca4.tar.bz2
librpm-tizen-b4c604e75c8550c5e63d5a6781e03ef40b78cca4.zip
- plug most install mode leaks.
CVS patchset: 5424 CVS date: 2002/05/07 01:07:41
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmpgp.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index 97ec3e492..208505a90 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -1065,6 +1065,20 @@ struct pgpDig_s * pgpFreeDig(/*@only@*/ /*@null@*/ struct pgpDig_s * dig)
/*@=branchstate@*/
dig->sha1ctx = NULL;
+ mp32bfree(&dig->p);
+ mp32bfree(&dig->q);
+ mp32nfree(&dig->g);
+ mp32nfree(&dig->y);
+ mp32nfree(&dig->hm);
+ mp32nfree(&dig->r);
+ mp32nfree(&dig->s);
+
+ mp32bfree(&dig->rsa_pk.n);
+ mp32nfree(&dig->rsa_pk.e);
+ mp32nfree(&dig->m);
+ mp32nfree(&dig->c);
+ mp32nfree(&dig->hm);
+
dig = _free(dig);
}
return dig;