| Summary: | sbin/camcontrol/camcontrol.c getdevtree() memory leak | ||
|---|---|---|---|
| Product: | Base System | Reporter: | firk |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | New --- | ||
| Severity: | Affects Only Me | ||
| Priority: | --- | ||
| Version: | 14.0-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Possible memory leak, completely harmless for now, but: sbin/camcontrol/camcontrol.c getdevtree() allocates an array: > ccb.cdm.matches = (struct dev_match_result *)malloc(bufsize); and I see no corresponding free().