aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r--plugins/groupwise-features/ChangeLog5
-rw-r--r--plugins/groupwise-features/mail-send-options.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog
index af8f6ab5bc..cd3d66d6b3 100644
--- a/plugins/groupwise-features/ChangeLog
+++ b/plugins/groupwise-features/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-16 Chris Heath <chris@heathens.co.nz>
+
+ * mail-send-options.c (org_gnome_compose_send_options):
+ Fix memory leak. Fixes bug #360815.
+
2006-07-18 Andre Klapper <a9016009@gmx.de>
* properties.glade: remove "*" from translation. Fixes bug #331147.
diff --git a/plugins/groupwise-features/mail-send-options.c b/plugins/groupwise-features/mail-send-options.c
index 0bd494bcd9..d098f9db76 100644
--- a/plugins/groupwise-features/mail-send-options.c
+++ b/plugins/groupwise-features/mail-send-options.c
@@ -144,16 +144,13 @@ org_gnome_compose_send_options (EPlugin *ep, EMMenuTargetWidget *t)
EMsgComposer *comp = (struct _EMsgComposer *)menu.widget ;
EAccount *account = NULL;
char *temp = NULL;
- char *url;
account = e_msg_composer_get_preferred_account (comp) ;
- url = g_strdup (account->transport->url) ;
- temp = strstr (url, "groupwise") ;
+ temp = strstr (account->transport->url, "groupwise") ;
if (!temp) {
g_print ("Sorry send options only available for a groupwise account\n") ;
return;
}
- g_free (temp) ;
/*disply the send options dialog*/
if (!dialog) {
g_print ("New dialog\n\n") ;