-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it leaks #100
Comments
tests leak too.
|
it fails with fmtlib 11.0.2 , 10.2.1 and 9.1.0 . It seems to be definitely fmtlog's problem. |
It seems that in
So, at least here's two no-no:
I'll try change the std::string_view to std::string. |
Just fucking nice: one place fixed, got one test fixed and other tests leak in some other places. I'm loving it (no) |
just... why ... why it's in C's char pointer and not it std::string or any like |
Just amazing: solved another leak via converting a lot of dangling fmt::string_view to std::string... Creating thread buffer in heap and then saving pointer in std::vector<type *> ...... clear does not work if the type don't have appropriate destructor... |
Memory management in fmtlog is a little bit tricky, which may trigger false alarm by sanitizers, so don't care too much about it. |
IDK , I solved them somehow, but now fmtlog requires |
It has a memory leak.
I'm using updated (no) version of the lib with updated fmtlib. I believe it's fmtlog issue but I don't have time to investigate it
After
logd
or any like macro.The text was updated successfully, but these errors were encountered: