1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-07 12:25:31 +00:00

mm-origin: Don't leak MMModemVoice

mm_object_get_modem_voice() is transfer full,
so we need to unref it when we're done.
This commit is contained in:
Evangelos Ribeiro Tzaras 2023-01-18 21:12:52 +01:00
parent 6f771b1685
commit 9c8e70088c

View file

@ -820,6 +820,7 @@ dispose (GObject *object)
CallsMMOrigin *self = CALLS_MM_ORIGIN (object);
remove_calls (self, NULL);
g_clear_object (&self->voice);
g_clear_object (&self->mm_obj);
g_clear_object (&self->ussd);
g_clear_object (&self->sim);