From: Arran Cudbard-Bell Date: Tue, 22 Mar 2022 01:47:55 +0000 (-0400) Subject: Fix another md5 ctx free location X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9e57e0171bcc030579e330aeaaff746a23daf8e;p=thirdparty%2Ffreeradius-server.git Fix another md5 ctx free location --- diff --git a/src/protocols/radius/decode.c b/src/protocols/radius/decode.c index 9c1776d936b..04cd19533b9 100644 --- a/src/protocols/radius/decode.c +++ b/src/protocols/radius/decode.c @@ -142,8 +142,8 @@ ssize_t fr_radius_decode_tunnel_password(uint8_t *passwd, size_t *pwlen, if (embedded_len > encrypted_len) { fr_strerror_printf("Tunnel Password is too long for the attribute " "(shared secret is probably incorrect!)"); - fr_md5_ctx_free(&md5_ctx); - fr_md5_ctx_free(&md5_ctx_old); + fr_md5_ctx_free_from_list(&md5_ctx); + fr_md5_ctx_free_from_list(&md5_ctx_old); return -1; }