diff --git a/sys/netgraph/ng_parse.c b/sys/netgraph/ng_parse.c index db77535aa434..37c5cc415fcd 100644 --- a/sys/netgraph/ng_parse.c +++ b/sys/netgraph/ng_parse.c @@ -1762,6 +1762,7 @@ ng_get_string_token(const char *s, int *startp, int *lenp, int *slenp) strcpy(p, v); } } + FREE(cbuf, M_NETGRAPH_PARSE); return (NULL); /* no closing quote */ }