From: Arran Cudbard-Bell Date: Thu, 3 Sep 2015 12:41:51 +0000 (-0400) Subject: Free expr of regex exec error Closes #1207 X-Git-Tag: release_3_0_10~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=766dc659a50dbf4d6b6a45a5f8c5b61806b6fa49;p=thirdparty%2Ffreeradius-server.git Free expr of regex exec error Closes #1207 --- diff --git a/src/main/pair.c b/src/main/pair.c index 4ec8dc6b7bd..245b5088e73 100644 --- a/src/main/pair.c +++ b/src/main/pair.c @@ -114,7 +114,7 @@ int radius_compare_vps(UNUSED REQUEST *request, VALUE_PAIR *check, VALUE_PAIR *v if (slen < 0) { RERROR("%s", fr_strerror()); - return -2; + goto regex_error; } if (check->op == T_OP_REG_EQ) {