diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/external-editor/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/external-editor/external-editor.c | 3 | ||||
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 9 | ||||
-rw-r--r-- | plugins/groupwise-features/install-shared.c | 6 | ||||
-rw-r--r-- | plugins/groupwise-features/send-options.c | 1 | ||||
-rw-r--r-- | plugins/groupwise-features/share-folder-common.c | 5 | ||||
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 9 |
8 files changed, 41 insertions, 5 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 diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 075bd3661a..2aa572f794 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,12 @@ +2008-02-18 Milan Crha <mcrha@redhat.com> + + ** Part of fix for bug #515744 + + * send-options.c: (get_source): + * share-folder-common.c: (get_container_id): + * install-shared.c: (install_folder_response): + Memory leak fix. + 2008-01-28 Andre Klapper <a9016009@gmx.de> * proxy-add-dialog.glade: string "Read" needs gettext context, diff --git a/plugins/groupwise-features/install-shared.c b/plugins/groupwise-features/install-shared.c index c0bffb23e0..0b12c39983 100644 --- a/plugins/groupwise-features/install-shared.c +++ b/plugins/groupwise-features/install-shared.c @@ -97,6 +97,7 @@ install_folder_response (EMFolderSelector *emfs, int response, gpointer *data) camel_exception_init (&ex); if (!(store = (CamelStore *) camel_session_get_service (mail_component_peek_session(NULL), uri, CAMEL_PROVIDER_STORE, &ex))) { camel_exception_clear (&ex); + g_strfreev (names); return; } @@ -122,12 +123,15 @@ install_folder_response (EMFolderSelector *emfs, int response, gpointer *data) camel_exception_init (&ex); if (!(provider = camel_provider_get(uri, &ex))) { camel_exception_clear (&ex); + g_strfreev (names); return; } /* make sure the new store belongs in the tree */ - if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE)) + if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE)) { + g_strfreev (names); return; + } em_folder_tree_model_add_store (model, store, account->name); camel_object_unref (store); diff --git a/plugins/groupwise-features/send-options.c b/plugins/groupwise-features/send-options.c index abfde2fd61..860b8469ec 100644 --- a/plugins/groupwise-features/send-options.c +++ b/plugins/groupwise-features/send-options.c @@ -374,6 +374,7 @@ get_source (ESourceList *list) if (so_uri) { if (!strcmp (so_uri, uri)) { g_free (so_uri), so_uri = NULL; + g_strfreev (temp); return E_SOURCE (r->data); } g_free (so_uri), so_uri = NULL; diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c index 36b2d15449..ca1f235651 100644 --- a/plugins/groupwise-features/share-folder-common.c +++ b/plugins/groupwise-features/share-folder-common.c @@ -531,8 +531,9 @@ get_container_id(EGwConnection *cnc, gchar *fname) g_free (name); } e_gw_connection_free_container_list (container_list); - if (names) - g_strfreev(names); } + + if (names) + g_strfreev (names); return id; } diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index 8da0024274..f105e91934 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,9 @@ +2008-02-18 Milan Crha <mcrha@redhat.com> + + ** Part of fix for bug #515744 + + * itip-formatter.c: (idle_open_cb): Memory Leak fix. + 2008-02-05 Srinivasa Ragavan <sragavan@novell.com> ** Rewrite of itip-formatter bits. It was written around carrying diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index ca10bb35a2..4cc11a3ea2 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1598,12 +1598,17 @@ idle_open_cb (gpointer data) { struct _itip_puri *pitip = data; struct _opencal_msg *m; + char *start, *end; + start = isodate_from_time_t (pitip->start_time); + end = isodate_from_time_t (pitip->end_time); m = mail_msg_new (&open_calendar_info); - m->command = g_strdup_printf ("evolution \"calendar://?startdate=%s&enddate=%s\"", - isodate_from_time_t (pitip->start_time), isodate_from_time_t (pitip->end_time)); + m->command = g_strdup_printf ("evolution \"calendar://?startdate=%s&enddate=%s\"", start, end); mail_msg_slow_ordered_push (m); + g_free (start); + g_free (end); + return FALSE; } |