Memory leaks in glib bindings

Jakub Stachowski stachowski at
Mon Feb 27 15:28:00 PST 2006


I have been converting some of my server-side apps to D-Bus (instead of really 
ugly self-made "bus") recently using glib bindings. After lots of work 
(second goal of rewrite was learning glib from scratch) it works quite good, 
with exception of pretty bad memory leaks - after ~2 days memory usage goes 
from 2M to 80M.
Valgrind log:

This is after finding and fixing one leak - patch at

Code itself: , ,

I wonder about record 5 from valgrind log. Am I doing something wrong with 
marshalling array of structs? 

More information about the dbus mailing list