mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-06 11:35:32 +00:00
calls-call-record-row: Ref the returned contact
calls_contacts_lookup_phone_number is transfer-none
This commit is contained in:
parent
fb73046e71
commit
09cbdf4181
1 changed files with 1 additions and 0 deletions
|
@ -381,6 +381,7 @@ setup_contact (CallsCallRecordRow *self)
|
|||
self->contact = calls_contacts_lookup_phone_number
|
||||
(self->contacts, phone_number);
|
||||
g_assert (self->contact != NULL);
|
||||
g_object_ref (self->contact);
|
||||
g_clear_object (&self->contacts);
|
||||
e_phone_number_free (phone_number);
|
||||
|
||||
|
|
Loading…
Reference in a new issue