Public bug reported:

Dbusmenu seems to assume in multiple places that g_variant_parse()
returns a floating reference. It doesn't, so these GVariant's are
leaked.

It does things like:

  g_variant_builder_add_value(&builder, g_variant_parse(....));

  GVariant *variant = g_variant_parse(....);
  g_variant_ref_sink(variant);
  ...
  g_variant_unref(variant);

Both of these cases result in a leak

** Affects: libdbusmenu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1104136

Title:
  Leaks GVariant's in multiple places

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/1104136/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to