diff options
Diffstat (limited to 'src/core/wee-eval.c')
-rw-r--r-- | src/core/wee-eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/wee-eval.c b/src/core/wee-eval.c index 739db81e5..700550cea 100644 --- a/src/core/wee-eval.c +++ b/src/core/wee-eval.c @@ -436,6 +436,7 @@ eval_compare (const char *expr1, int comparison, const char *expr2) goto end; } rc = (regexec (®ex, expr1, 0, NULL, 0) == 0) ? 1 : 0; + regfree (®ex); if (comparison == EVAL_COMPARE_REGEX_NOT_MATCHING) rc ^= 1; goto end; |