Summary: | memory leak in 'config' program | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Kurt Lidl <lidl> | ||||
Component: | bin | Assignee: | Rui Paulo <rpaulo> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | rpaulo | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: rpaulo Date: Tue Oct 13 20:25:03 UTC 2015 New revision: 289262 URL: https://svnweb.freebsd.org/changeset/base/289262 Log: Fix two memory leaks in config(8). PR: 202145 Submitted by: Kurt Lidl <lidl pix.net> Changes: head/usr.sbin/config/mkmakefile.c |
Created attachment 159628 [details] path that fixes the memory leak The 'config' program leaks memory when running. It's not critical, in that config isn't a long running program, but it easy to fix. The clang static analysis tool found the problem originally. Patch is attached. I've been running with this patch for a couple of months on my -current tracking machine, and not had any problems.