sip: Don't crash when handles never got set up
Still need to figure out how we can end up there, see #580 Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/737>
This commit is contained in:
@@ -218,7 +218,8 @@ remove_calls (CallsSipOrigin *self,
|
||||
|
||||
g_hash_table_remove_all (self->call_handles);
|
||||
|
||||
g_clear_pointer (&self->oper->call_handle, nua_handle_unref);
|
||||
if (self->oper)
|
||||
g_clear_pointer (&self->oper->call_handle, nua_handle_unref);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user