FreeBSD Bugzilla – Attachment 159628 Details for
Bug 202145
memory leak in 'config' program
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
path that fixes the memory leak
config.diff (text/plain), 510 bytes, created by
Kurt Lidl
on 2015-08-07 03:03:03 UTC
(
hide
)
Description:
path that fixes the memory leak
Filename:
MIME Type:
Creator:
Kurt Lidl
Created:
2015-08-07 03:03:03 UTC
Size:
510 bytes
patch
obsolete
>Index: usr.sbin/config/mkmakefile.c >=================================================================== >--- usr.sbin/config/mkmakefile.c (revision 286391) >+++ usr.sbin/config/mkmakefile.c (working copy) >@@ -623,6 +623,7 @@ > slen = strlen(suff); > > fprintf(fp, "%sFILES=", SUFF); >+ free(SUFF); > lpos = 8; > STAILQ_FOREACH(tp, &ftab, f_next) > if (tp->f_type != NODEPEND) { >@@ -641,6 +642,7 @@ > fprintf(fp, "%s ", tp->f_fn); > lpos += len + 1; > } >+ free(suff); > if (lpos != 8) > putc('\n', fp); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202145
: 159628