diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2011-01-18 02:20:02 +0100 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2011-01-18 02:20:02 +0100 |
commit | 8f15b28dd7afdd1a5c5b9c0d54c05d978a10461a (patch) | |
tree | 555cbcb51d6df8edc9559b36f1c14eda239f54aa /eel/eel-glib-extensions.c | |
parent | 04d3aa67294f300f3b0bd927be5f45666260c5d3 (diff) | |
download | nautilus-8f15b28dd7afdd1a5c5b9c0d54c05d978a10461a.tar.gz |
eel: plug some leaks in gsettings helpers
Diffstat (limited to 'eel/eel-glib-extensions.c')
-rw-r--r-- | eel/eel-glib-extensions.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/eel/eel-glib-extensions.c b/eel/eel-glib-extensions.c index c9e99de53..77810e3eb 100644 --- a/eel/eel-glib-extensions.c +++ b/eel/eel-glib-extensions.c @@ -748,6 +748,8 @@ eel_g_settings_add_auto_boolean (GSettings *settings, g_signal_connect (settings, signal, G_CALLBACK(update_auto_boolean), storage); + + g_free (signal); } static void @@ -772,6 +774,8 @@ eel_g_settings_add_auto_int (GSettings *settings, g_signal_connect (settings, signal, G_CALLBACK(update_auto_int), storage); + + g_free (signal); } static void @@ -796,6 +800,8 @@ eel_g_settings_add_auto_enum (GSettings *settings, g_signal_connect (settings, signal, G_CALLBACK(update_auto_enum), storage); + + g_free (signal); } static void @@ -822,6 +828,8 @@ eel_g_settings_add_auto_strv (GSettings *settings, g_signal_connect (settings, signal, G_CALLBACK(update_auto_strv), storage); + + g_free (signal); } static void @@ -859,6 +867,8 @@ eel_g_settings_add_auto_strv_as_quarks (GSettings *settings, g_signal_connect (settings, signal, G_CALLBACK(update_auto_strv_as_quarks), storage); + + g_free (signal); } #if !defined (EEL_OMIT_SELF_CHECK) |