camcontrol: Plug a memory leak in getdevtree()
PR: 275338
MFC after: 1 week
(cherry picked from commit abfd031b48)
This commit is contained in:
parent
8635c1ad51
commit
5a07e99407
1 changed files with 1 additions and 0 deletions
|
|
@ -652,6 +652,7 @@ getdevtree(int argc, char **argv, char *combinedopt)
|
|||
if (need_close)
|
||||
fprintf(stdout, ")\n");
|
||||
|
||||
free(ccb.cdm.matches);
|
||||
close(fd);
|
||||
|
||||
return (error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue