+2007-06-15 Matthew Barnes <mbarnes@redhat.com>
+
+ * e-passwords.c (ep_forget_password_keyring),
+ (ep_get_password_keyring): Free the EUri (#447749).
+
2007-05-28 Pascal Terjan <pterjan@linuxfr.org>
* e-passwords.c (e_passwords_ask_password):
g_free (value);
}
- if (!uri->host && !uri->user) {
+ if (!uri->host && !uri->user)
/* No need to remove from keyring for pass phrases */
- if (!msg->noreply)
- e_msgport_reply(&msg->msg);
- return;
- }
+ goto exit;
result = gnome_keyring_get_default_keyring_sync (&default_keyring);
if (!default_keyring) {
- if (gnome_keyring_create_sync ("default", NULL) != GNOME_KEYRING_RESULT_OK) {
- if (!msg->noreply)
- e_msgport_reply(&msg->msg);
- return;
- }
+ if (gnome_keyring_create_sync ("default", NULL) != GNOME_KEYRING_RESULT_OK)
+ goto exit;
default_keyring = g_strdup ("default");
}
g_free (default_keyring);
+exit:
if (!msg->noreply)
e_msgport_reply(&msg->msg);
+
+ e_uri_free(uri);
}
#endif
}
}
+ e_uri_free (uri);
}
if (!msg->noreply)