-
Committer:
Mikkel Kamstrup Erlandsen
-
Date:
2011-07-12 09:54:02 UTC
-
mfrom:
(207.1.5 libzeitgeist)
-
Revision ID:
mikkel.kamstrup@gmail.com-20110712095402-b2xtr0z2yvzk3sy1
Merge Michal Hruby's branch lp:~mhr3/libzeitgeist/various-fixes:
Fixes two types of leaks:
1) Leak in the usage of g_variant_iter_loop, which is expected
to run over whole collection and leaks if it doesn't.
(leaks around 30bytes per each ZeitgeistEvent)
2) g_variant_get_child_value never returns a floating reference
(it's a child, so the parent already has a ref), this caused
pretty much the entire raw dbus data of every single event to
leak.