diff options
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r-- | src/uzbl-core.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c index cd907f4..462feb5 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -2357,13 +2357,9 @@ void handle_authentication (SoupSession *session, SoupMessage *msg, SoupAuth *au } /* If stdout was correct (contains exactly two lines of text) do - * authenticate. Otherwise fail. */ - if (number_of_endls == 2) { + * authenticate. */ + if (number_of_endls == 2) soup_auth_authenticate(auth, username, password); - } else { - g_free(username); - g_free(password); - } soup_session_unpause_message(session, msg); |