Re: Two issues with librsvg

2017-10-23 Thread Tristan Van Berkom
With a very brief look at your valgrind output i can tell you that you need a suppressions file. You may be leaking, but you are also counting GType registration as "possibly lost", this is constant data for static types which will be allocated once and remain on the heap for program lifetime,

Re: Two issues with librsvg

2017-10-23 Thread Oren Ben-Kiki
Oops, the sample program I gave was missing the call to rsvg_handle_close. However, adding it doesn't change anything. The corrected program is: --- cheese.cpp --- #include #include using namespace std; static const char s_svg[] = R"EOF( )EOF"; int main() { cerr << "RSVG VERSION: " <<