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:
parent
2cebcbf957
commit
81b8928b16
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue