new-call-box: Don't leak CallsOrigin
get_selected_origin () does not need to take a reference on CallsOrigin
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user