memcontrol.c clearfunc
Free 'owner' after use
Details
Details
- Reviewers
eadler
Use clang's static analyzer, scan-build, to find the problem and later to show resolution.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
usr.sbin/memcontrol/memcontrol.c | ||
---|---|---|
280 | Technically speaking you should also put a free() call above the strdup()... :-) |