aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/external-editor
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/external-editor')
-rw-r--r--plugins/external-editor/ChangeLog7
-rw-r--r--plugins/external-editor/external-editor.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/plugins/external-editor/ChangeLog b/plugins/external-editor/ChangeLog
index d2afbc1aaa..4f8996ea79 100644
--- a/plugins/external-editor/ChangeLog
+++ b/plugins/external-editor/ChangeLog
@@ -1,3 +1,10 @@
+2008-02-18 Milan Crha <mcrha@redhat.com>
+
+ ** Part of fix for bug #515744
+
+ * external-editor.c: (convert_to_camel_internet_address),
+ (org_gnome_external_editor): Memory leak fix.
+
2007-12-04 Sankar P <psankar@novell.com>
* Committed on behalf of Denis Washington <denisw@svn.gnome.org>
diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c
index fecc6e8de2..b34cb0717d 100644
--- a/plugins/external-editor/external-editor.c
+++ b/plugins/external-editor/external-editor.c
@@ -41,6 +41,7 @@ static CamelInternetAddress * convert_to_camel_internet_address (char * emails)
camel_internet_address_add (cia, " ", address_tokens [i]);
d(printf ("\nAdding camel_internet_address[%s] \n", address_tokens [i]));
}
+ g_strfreev (address_tokens);
return cia;
}
@@ -139,6 +140,8 @@ void org_gnome_external_editor (EPlugin *ep, EMMenuTargetSelect *select)
g_signal_connect (GTK_OBJECT (composer), "save-draft", G_CALLBACK (em_utils_composer_save_draft_cb), NULL);
gtk_widget_show (GTK_WIDGET (composer));
+
+ g_strfreev (tokens);
}
}
#else