mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
camcontrol: Plug a memory leak in getdevtree()
PR: 275338 MFC after: 1 week
This commit is contained in:
parent
01c738cd5c
commit
abfd031b48
1 changed files with 1 additions and 0 deletions
|
|
@ -653,6 +653,7 @@ getdevtree(int argc, char **argv, char *combinedopt)
|
|||
if (need_close)
|
||||
fprintf(stdout, ")\n");
|
||||
|
||||
free(ccb.cdm.matches);
|
||||
close(fd);
|
||||
|
||||
return (error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue