[pan2] https://bugzilla.gnome.org/show_bug.cgi?id=677741



commit cfc0392bb8eb1962e0263da8209256a41582fa42
Author: Heinrich MÃller <henmull src gnome org>
Date:   Sat Jun 9 17:33:48 2012 +0200

    https://bugzilla.gnome.org/show_bug.cgi?id=677741

 pan/data-impl/data-impl.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pan/data-impl/data-impl.cc b/pan/data-impl/data-impl.cc
index e204f5c..1c9264e 100644
--- a/pan/data-impl/data-impl.cc
+++ b/pan/data-impl/data-impl.cc
@@ -167,6 +167,10 @@ DataImpl :: password_decrypt (PasswordData& pw) const
     pw.pw = gnome_keyring_memory_strdup(pwd);
     gnome_keyring_free_password(pwd);
   }
+  else
+  {
+    pw.pw = "";
+  }
 
   return (pw.pw ? GNOME_KEYRING_RESULT_OK : GNOME_KEYRING_RESULT_DENIED) ;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]