Still reachable bytes, is that unavoidable?
I am developing a program using Xlib, and by running it through valgrind it detects many bytes that are still reachable after execution.
I posted the details and a minimal example here: https://stackoverflow.com/questions/76808501/xlib-memory-leak-when-loading-specific-font-string
I am using LibX11 6.4.0.
I know still reachable bytes are not that much of a problem, but I think ideally programs must have a clean exit.
Is this inevitable?
Thanks,