diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cli_new.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli_new.c b/src/cli_new.c index 87c5087..716c06f 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -1114,6 +1114,7 @@ static boolean check_syn_func(vtw_node *cur,const char *prepend_msg,boolean form status = regexec(&myreg, left.cnt? left.vals[ii]:left.val, 0, 0, 0); + regfree(&myreg); if(status) { ret = FALSE; break; |