Skip to content

Commit

Permalink
Merge pull request #18 from monich/auth_context_free
Browse files Browse the repository at this point in the history
Fixed crash in auth_context_free
  • Loading branch information
monich committed Jul 31, 2014
2 parents 6417690 + e0a1db1 commit 19ff205
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions telepathy-sasl-signon/empathy-uoa-auth-handler.c
Expand Up @@ -324,15 +324,15 @@ identity_query_info_cb (SignonIdentity *identity,
SailfishKeyProvider_storedKey (ag_service_get_provider (service),
ag_service_get_name (service), "client_id", &ctx->client_id);
if (ctx->client_id)
tp_asv_set_string (params, "ClientId", ctx->client_id);
tp_asv_set_string (params, g_strdup("ClientId"), ctx->client_id);

SailfishKeyProvider_storedKey (ag_service_get_provider (service),
ag_service_get_name (service), "client_secret", &client_secret);
if (client_secret)
tp_asv_set_string (params, "ClientSecret", client_secret);
tp_asv_set_string (params, g_strdup("ClientSecret"), client_secret);
g_free(client_secret);

tp_asv_set_int32 (params, SIGNON_SESSION_DATA_UI_POLICY, SIGNON_POLICY_NO_USER_INTERACTION);
tp_asv_set_int32 (params, g_strdup(SIGNON_SESSION_DATA_UI_POLICY), SIGNON_POLICY_NO_USER_INTERACTION);

signon_auth_session_process (ctx->session,
params,
Expand Down

0 comments on commit 19ff205

Please sign in to comment.