Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2021 22:48:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 203097] [libgeom] multiple geom_stats_open/close() leaks memory
Message-ID:  <bug-203097-227-NsqoTJmaO0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203097-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203097-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203097

Alan Somers <asomers@FreeBSD.org> changed:

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

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203097-227-NsqoTJmaO0>