The variable nargv is allocated but never freed, so free it when the it
is no longer used. Submitted by: Thomas Rix <trix@juniper.net> Reviewed by: ed Approved by: sjg (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D9652
This commit is contained in:
parent
18607dc92f
commit
c16bdc9b2c
@ -371,6 +371,7 @@ net: for (p = nargv; *p;) {
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
free(nargv);
|
||||
free(used);
|
||||
if (entries == 0)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user