GNOME Bugzilla – Bug 668776
Plug some mem leaks
Last modified: 2012-01-27 10:42:13 UTC
I was running gnome-settings-daemon under valgrind today; it found *lots* of small leaks here and there. This is an attempt to fix some.
Created attachment 206218 [details] [review] housekeeping: plug a mem leak Free the mount list, since it's transfer full.
Created attachment 206219 [details] [review] wacom: make sure to unref GnomeRRConfig and GnomeRROutputInfo And ensure the output info stays alive even if we unref the config before.
Created attachment 206220 [details] [review] wacom: unref the variants we get with g_settings_get_value() Just let the set_* functions that take a GVariant also unref it.
Created attachment 206221 [details] [review] xsettings: plug a mem leak Unref the variant we get from g_settings_get_value()
All pushed, thanks very much! Attachment 206218 [details] pushed as 4019549 - housekeeping: plug a mem leak Attachment 206219 [details] pushed as 4c21d19 - wacom: make sure to unref GnomeRRConfig and GnomeRROutputInfo Attachment 206220 [details] pushed as 152a5c4 - wacom: unref the variants we get with g_settings_get_value() Attachment 206221 [details] pushed as 1b9d659 - xsettings: plug a mem leak