]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't free name twice
authorAlan T. DeKok <aland@freeradius.org>
Thu, 24 Apr 2025 10:36:48 +0000 (06:36 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 24 Apr 2025 15:46:34 +0000 (11:46 -0400)
src/modules/rlm_eap/rlm_eap.c

index 696b97a5c744c1cfd7e50d1b2d0096311039e5e9..1b14d305a60f4523ba374b51deb7ee0bcbbecf27 100644 (file)
@@ -152,7 +152,6 @@ static int submodule_parse(TALLOC_CTX *ctx, void *out, void *parent,
        talloc_free(our_name);
 
        if (method == FR_EAP_METHOD_INVALID) {
-               talloc_free(our_name);
                cf_log_err(ci, "Unknown EAP type %s", name);
                return -1;
        }