1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-16 05:15:36 +00:00

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 2cebcbf957
commit 81b8928b16

View file

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