Skip to content
This repository has been archived by the owner on May 21, 2023. It is now read-only.

Some dynamically allocated structures are never freed #10

Open
TLaviron opened this issue Feb 5, 2020 · 1 comment
Open

Some dynamically allocated structures are never freed #10

TLaviron opened this issue Feb 5, 2020 · 1 comment

Comments

@TLaviron
Copy link

TLaviron commented Feb 5, 2020

I have noticed that the MicroProfileThreadLog objects, which are allocated on demand, are never deleted, along with the MicroProfile.LabelBuffer buffer.

I assume these are meant to last for the whole duration of the program, and so the memory will be reacquired by the system when the program exits, but the allocations show up in leak checking tools because of that.
Is there a specific reason these objects are not freed during the MicroProfileShutdown call?

@zeux
Copy link
Owner

zeux commented Feb 5, 2020

No specific reason, just an omission.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants