From: Nick Porter Date: Mon, 11 Apr 2022 17:01:54 +0000 (+0100) Subject: Fix pcre atexit function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b5aed54c92d713b15e30527d89c67d54077c37a;p=thirdparty%2Ffreeradius-server.git Fix pcre atexit function --- diff --git a/src/lib/util/regex.c b/src/lib/util/regex.c index ec78e136e09..ec6f6611321 100644 --- a/src/lib/util/regex.c +++ b/src/lib/util/regex.c @@ -667,10 +667,11 @@ static void _pcre_talloc_free(void *to_free) talloc_free(to_free); } -static void _pcre_globals_reset(UNUSED void *uctx) +static int _pcre_globals_reset(UNUSED void *uctx) { pcre_malloc = NULL; pcre_free = NULL; + return 0; } static void _pcre_globals_configure(UNUSED void *uctx)