Bug 259094 - sysutils/htop: plug memory leak when displaying Disk I/O in the header area
Summary: sysutils/htop: plug memory leak when displaying Disk I/O in the header area
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-12 09:13 UTC by Trond.Endrestol
Modified: 2021-10-14 06:00 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (gaod)


Attachments
Patch for freebsd/Platform.c turning the local info variable to a static, local variable (356 bytes, patch)
2021-10-12 09:14 UTC, Trond.Endrestol
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trond.Endrestol 2021-10-12 09:13:27 UTC
Without this patch, htop leaks 4 bytes of memory for each update.
The very same bug is fixed in the development version of htop.
Comment 1 Trond.Endrestol 2021-10-12 09:14:27 UTC
Created attachment 228620 [details]
Patch for freebsd/Platform.c turning the local info variable to a static, local variable