diff options
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 5c9df20..5f51d10 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -2140,7 +2140,7 @@ int addmatchcertattr(struct peer *conf, char *matchcertattr) { return 0; } if (regcomp(conf->certuriregex, v, REG_ICASE | REG_NOSUB)) { - regfree(conf->certuriregex); + free(conf->certuriregex); conf->certuriregex = NULL; debug(DBG_ERR, "failed to compile regular expression %s", v); return 0; |