diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-03-04 13:41:27 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-03-04 13:41:27 +0200 |
commit | 5cb107b843797307e2a0d21018707bd893222fe5 (patch) | |
tree | 89bf2a3fe0ff75059e6c665e6662d8b22b50c650 /rpmio/rpmpgp.c | |
parent | d50db40ceed7083467f7b548da7b2fbe96aaec61 (diff) | |
download | librpm-tizen-5cb107b843797307e2a0d21018707bd893222fe5.tar.gz librpm-tizen-5cb107b843797307e2a0d21018707bd893222fe5.tar.bz2 librpm-tizen-5cb107b843797307e2a0d21018707bd893222fe5.zip |
Dont leak memory from hdrmd5ctx
Diffstat (limited to 'rpmio/rpmpgp.c')
-rw-r--r-- | rpmio/rpmpgp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c index 6e4898635..8fba34719 100644 --- a/rpmio/rpmpgp.c +++ b/rpmio/rpmpgp.c @@ -1282,11 +1282,9 @@ pgpDig pgpFreeDig(pgpDig dig) (void) rpmDigestFinal(dig->sha1ctx, NULL, NULL, 0); dig->sha1ctx = NULL; -#ifdef NOTYET if (dig->hdrmd5ctx != NULL) (void) rpmDigestFinal(dig->hdrmd5ctx, NULL, NULL, 0); dig->hdrmd5ctx = NULL; -#endif if (dig->md5ctx != NULL) (void) rpmDigestFinal(dig->md5ctx, NULL, NULL, 0); |