user-controls: Fix a minor string leak
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
a58c660dca
commit
4a1cc8a830
|
@ -702,6 +702,7 @@ mct_user_controls_finalize (GObject *object)
|
||||||
g_clear_object (&self->user);
|
g_clear_object (&self->user);
|
||||||
g_clear_pointer (&self->user_locale, g_free);
|
g_clear_pointer (&self->user_locale, g_free);
|
||||||
g_clear_pointer (&self->user_display_name, g_free);
|
g_clear_pointer (&self->user_display_name, g_free);
|
||||||
|
g_clear_pointer (&self->description, g_free);
|
||||||
|
|
||||||
if (self->permission != NULL && self->permission_allowed_id != 0)
|
if (self->permission != NULL && self->permission_allowed_id != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue