aboutsummaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex.c b/src/regex.c
index 4151e0a..702bd15 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -1,11 +1,11 @@
/*
regex.c
This file is part of GNU Anubis.
- Copyright (C) 2001-2014 The Anubis Team.
+ Copyright (C) 2001-2024 The Anubis Team.
GNU Anubis is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
@@ -195,13 +195,13 @@ anubis_regex_replace (RC_REGEX *re, char *line, char *repl)
}
}
else
{
alloc = 1;
p = substitute (repl, refv);
- argcv_free (-1, refv);
+ argv_free (refv);
}
plen = strlen (p);
savep = newstr;
newlen = strlen (line) - (eo - so) + plen + 1;

Return to:

Send suggestions and report system problems to the System administrator.