ccdconfig.c do_all
Fix the memory leak of realloc failure by using realocf instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Hmmm... In this case it wouldn't be a lot more effort to just use realloc() and free(). That said, this tool is specific to FreeBSD anyway.
sbin/ccdconfig/ccdconfig.c | ||
---|---|---|
315 | While this is a simple fix, what's the point? |
Comment Actions
I am pedantically scrubbing all of the memory leaks and this is a leak.
Problems must fixed so they don¹t turn up in future scans.