From 5cb107b843797307e2a0d21018707bd893222fe5 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 4 Mar 2009 13:41:27 +0200 Subject: [PATCH] Dont leak memory from hdrmd5ctx --- rpmio/rpmpgp.c | 2 -- 1 file changed, 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);