Dont leak memory from hdrmd5ctx

This commit is contained in:
Panu Matilainen 2009-03-04 13:41:27 +02:00
parent d50db40cee
commit 5cb107b843
1 changed files with 0 additions and 2 deletions

View File

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