I have a class that uses libxml2. It has static members which are used to hold context for a schema file and its parser. I m using valgrind, and it s complaining that memory is not deallocated in connection with the schema context. This is because you need to free that memory yourself. However, since these context variables are static, I can t free on destruction of the object. Is there a way to call the necessary free functions, or should I just ignore valgrind.
I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...