diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/regex/regfree.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/regex/regfree.c b/lib/libc/regex/regfree.c index 580fb75..cd6b3dc 100644 --- a/lib/libc/regex/regfree.c +++ b/lib/libc/regex/regfree.c @@ -35,6 +35,8 @@ * SUCH DAMAGE. * * @(#)regfree.c 8.3 (Berkeley) 3/20/94 + * + * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) @@ -76,5 +78,9 @@ regex_t *preg; free((char *)g->setbits); if (g->must != NULL) free(g->must); + if (g->charjump != NULL) + free(g->charjump); + if (g->matchjump != NULL) + free(g->matchjump); free((char *)g); } |