svn commit: samba r19325 - in
branches/SAMBA_4_0/source/heimdal/lib/des: .
tridge at samba.org
tridge at samba.org
Mon Oct 16 10:51:24 GMT 2006
Author: tridge
Date: 2006-10-16 10:51:23 +0000 (Mon, 16 Oct 2006)
New Revision: 19325
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19325
Log:
leak fix from lha
Modified:
branches/SAMBA_4_0/source/heimdal/lib/des/hmac.c
Changeset:
Modified: branches/SAMBA_4_0/source/heimdal/lib/des/hmac.c
===================================================================
--- branches/SAMBA_4_0/source/heimdal/lib/des/hmac.c 2006-10-16 10:12:43 UTC (rev 19324)
+++ branches/SAMBA_4_0/source/heimdal/lib/des/hmac.c 2006-10-16 10:51:23 UTC (rev 19325)
@@ -28,7 +28,10 @@
free(ctx->ipad);
ctx->ipad = NULL;
}
- EVP_MD_CTX_cleanup(ctx->ctx);
+ if (ctx->ctx) {
+ EVP_MD_CTX_destroy(ctx->ctx);
+ ctx->ctx = NULL;
+ }
}
size_t
More information about the samba-cvs
mailing list