origin: Fix the password when updating credentials

Updating the credentials was broken otherwise.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-08-27 15:41:00 +02:00
parent 0bfa55473e
commit 42c0872499

View File

@@ -1440,7 +1440,7 @@ calls_sip_origin_set_credentials (CallsSipOrigin *self,
self->user = g_strdup (user);
g_free (self->password);
self->password = g_strdup (self->password);
self->password = g_strdup (password);
g_clear_pointer (&self->display_name, g_free);
if (display_name)