mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
camcontrol: Plug a memory leak in getdevtree()
PR: 275338 MFC after: 1 week
This commit is contained in:
parent
01c738cd5c
commit
abfd031b48
@ -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 New Issue
Block a user