origin: Fix the password when updating credentials
Updating the credentials was broken otherwise.
This commit is contained in:
@@ -1440,7 +1440,7 @@ calls_sip_origin_set_credentials (CallsSipOrigin *self,
|
|||||||
self->user = g_strdup (user);
|
self->user = g_strdup (user);
|
||||||
|
|
||||||
g_free (self->password);
|
g_free (self->password);
|
||||||
self->password = g_strdup (self->password);
|
self->password = g_strdup (password);
|
||||||
|
|
||||||
g_clear_pointer (&self->display_name, g_free);
|
g_clear_pointer (&self->display_name, g_free);
|
||||||
if (display_name)
|
if (display_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user