[Bug 203097] [libgeom] multiple geom_stats_open/close() leaks memory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 27 22:48:37 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203097

Alan Somers <asomers at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
                 CC|                            |asomers at FreeBSD.org
           Assignee|bugs at FreeBSD.org            |asomers at FreeBSD.org

--- Comment #1 from Alan Somers <asomers at FreeBSD.org> ---
Created attachment 222869
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222869&action=edit
Don't leak memory in geom_stats_resync

I classic memory leak.  The attached patch fixes the problem.  However, I think
I'm going to do it a different way instead as part of
https://reviews.freebsd.org/D28968, which also improves performance.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list