new-call-box: Don't leak CallsOrigin

get_selected_origin () does not need to take a reference on CallsOrigin
This commit is contained in:
Evangelos Ribeiro Tzaras
2023-03-16 13:13:46 +01:00
parent ea5d7038e7
commit 2f3f55c831

View File

@@ -74,7 +74,7 @@ get_selected_origin (CallsNewCallBox *self)
if (model && index >= 0)
origin = g_list_model_get_item (model, index);
return g_steal_pointer (&origin);
return origin;
}