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:
parent
6f771b1685
commit
9c8e70088c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue