[gnome-calendar] source-dialog: fix credentials leaked data
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-calendar] source-dialog: fix credentials leaked data
- Date: Mon, 25 May 2015 16:58:32 +0000 (UTC)
commit 76432b81e0db0cec2709ba8c93adba9464d4a304
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun Apr 19 14:47:21 2015 -0300
    source-dialog: fix credentials leaked data
 src/gcal-source-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index 1de9648..ac968c8 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -1196,8 +1196,8 @@ validate_url_cb (GcalSourceDialog *dialog)
           gint response;
           gchar *user, *password;
 
-          response = prompt_credentials (dialog, &user, &password);
           user = password = NULL;
+          response = prompt_credentials (dialog, &user, &password);
 
           /*
            * User entered username and password, let's try
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]