projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb69b5d
)
Bug #612596 - Crash in gnome_keyring_item_info_free from e-passwords.c
author
Milan Crha
<mcrha@redhat.com>
Wed, 12 May 2010 09:19:05 +0000
(11:19 +0200)
committer
Milan Crha
<mcrha@redhat.com>
Wed, 12 May 2010 09:22:27 +0000
(11:22 +0200)
libedataserverui/e-passwords.c
patch
|
blob
|
history
diff --git
a/libedataserverui/e-passwords.c
b/libedataserverui/e-passwords.c
index
1b0ee7b
..
36ced34
100644
(file)
--- a/
libedataserverui/e-passwords.c
+++ b/
libedataserverui/e-passwords.c
@@
-1290,12
+1290,13
@@
e_passwords_init (void)
* We might be able to extract passwords from it. */
key_file = g_key_file_new ();
ep_key_file_load ();
+
+ #ifdef WITH_GNOME_KEYRING
+ if (gnome_keyring_is_available ())
+ gnome_keyring_get_default_keyring_sync (&default_keyring);
+ #endif
}
-#ifdef WITH_GNOME_KEYRING
- if (gnome_keyring_is_available ())
- gnome_keyring_get_default_keyring_sync (&default_keyring);
-#endif
G_UNLOCK (passwords);
}