mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
gsettings: Fix a minor memory leak when getting GSettingsAction:state
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
98274e09de
commit
1cde07b978
@ -3296,7 +3296,7 @@ g_settings_action_get_property (GObject *object, guint prop_id,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ACTION_PROP_STATE:
|
case ACTION_PROP_STATE:
|
||||||
g_value_set_variant (value, g_settings_action_get_state (action));
|
g_value_take_variant (value, g_settings_action_get_state (action));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user