mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-13 03:51:17 +00:00
sip: Don't crash when handles never got set up
Still need to figure out how we can end up there, see #580
(cherry picked from commit 13ebabfadb
)
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/736>
This commit is contained in:
parent
8e6f5a1e8e
commit
43ce0e9ba0
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue