mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
prefs: Fix memory leak
This commit is contained in:
parent
796ca6746d
commit
2eb3ff4bfb
@ -914,6 +914,8 @@ do_override (char *key,
|
||||
detailed_signal = g_strdup_printf ("changed::%s", key);
|
||||
handler_id = g_signal_connect (settings, detailed_signal,
|
||||
G_CALLBACK (settings_changed), NULL);
|
||||
g_free (detailed_signal);
|
||||
|
||||
g_object_set_data (G_OBJECT (settings), key, GUINT_TO_POINTER (handler_id));
|
||||
|
||||
settings_changed (settings, key, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user