← Back to team overview

compiz team mailing list archive

[Bug 1097649] Re: Several leaks in g_settings_new() [g_object_new()] from ccsGSettingsNewNoPath() [ccs_gsettings_interface_wrapper.c:184]

 

I don't think this is a leak in compiz.

The "??" function in the valgrind trace is g_settings_class_init, which
is called once when the class is first instantiated. It creates a bunch
of signals (eg, g_signal_new in
http://git.gnome.org/browse/glib/tree/gio/gsettings.c#n641), and as far
as I can tell, never gets rid of them. In fact, searching the glib
documentation, it seems like there's no way to get rid of a signal once
it is created, as it is global program state.

I'd recommend changing this to "Invalid" and updating the supressions
file.

(Hint: The GLib/GIO supressions file was already imported into
experimental-memcheck/compiz.supp - I'd suggest using the suppressions
from there).

** Changed in: compiz
     Assignee: Sam Spilsbury (smspillaz) => (unassigned)

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

Title:
  Several leaks in g_settings_new() [g_object_new()] from
  ccsGSettingsNewNoPath() [ccs_gsettings_interface_wrapper.c:184]

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1097649/+subscriptions


References