From 09cbdf41813fe3d0c778f3abf2154497e391b6af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Fri, 5 Jun 2020 13:45:50 +0200 Subject: [PATCH] calls-call-record-row: Ref the returned contact calls_contacts_lookup_phone_number is transfer-none --- src/calls-call-record-row.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calls-call-record-row.c b/src/calls-call-record-row.c index f0c8322..3e0495e 100644 --- a/src/calls-call-record-row.c +++ b/src/calls-call-record-row.c @@ -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);