diff options
Diffstat (limited to 'mail/em-config.c')
-rw-r--r-- | mail/em-config.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mail/em-config.c b/mail/em-config.c index a5ddb7a702..bad3d92c47 100644 --- a/mail/em-config.c +++ b/mail/em-config.c @@ -118,7 +118,6 @@ em_config_target_free (EConfig *ep, case EM_CONFIG_TARGET_FOLDER: { EMConfigTargetFolder *s = (EMConfigTargetFolder *) t; - g_free (s->uri); g_object_unref (s->folder); break; } case EM_CONFIG_TARGET_PREFS: { @@ -175,15 +174,13 @@ em_config_new (gint type, EMConfigTargetFolder * em_config_target_new_folder (EMConfig *emp, - CamelFolder *folder, - const gchar *uri) + CamelFolder *folder) { EMConfigTargetFolder *t; t = e_config_target_new ( &emp->config, EM_CONFIG_TARGET_FOLDER, sizeof (*t)); - t->uri = g_strdup (uri); t->folder = g_object_ref (folder); return t; |