Dont leak memory from hdrmd5ctx
This commit is contained in:
parent
d50db40cee
commit
5cb107b843
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue