diff --git a/evolution-3.6.4-send-message-leak.patch b/evolution-3.6.4-send-message-leak.patch new file mode 100644 index 0000000..81b1342 --- /dev/null +++ b/evolution-3.6.4-send-message-leak.patch @@ -0,0 +1,12 @@ +diff --git a/libemail-engine/e-mail-session-utils.c b/libemail-engine/e-mail-session-utils.c +index 86c2545..c9100ff 100644 +--- a/libemail-engine/e-mail-session-utils.c ++++ b/libemail-engine/e-mail-session-utils.c +@@ -933,7 +933,6 @@ e_mail_session_send_to (EMailSession *session, + context->io_priority = io_priority; + context->from = from; + context->recipients = recipients; +- context->message = g_object_ref (message); + context->info = info; + context->xev = xev; + context->post_to_uris = post_to_uris; diff --git a/evolution.spec b/evolution.spec index 4ab0d4a..ce90e53 100644 --- a/evolution.spec +++ b/evolution.spec @@ -29,7 +29,7 @@ Name: evolution Version: 3.6.4 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/Productivity Summary: Mail and calendar client for GNOME License: GPLv2+ and GFDL @@ -51,6 +51,9 @@ Patch02: evolution-2.30.1-help-contents.patch Patch03: evolution-3.6.4-restore-dconf.patch +# RH-bug #916890 +Patch04: evolution-3.6.4-send-message-leak.patch + ## Dependencies ### Requires: gnome-icon-theme >= %{gnome_icon_theme_version} @@ -193,6 +196,7 @@ This package contains the plugin to import Microsoft Personal Storage Table %patch01 -p1 -b .ldaphack %patch02 -p1 -b .help-contents %patch03 -p1 -b .restore-dconf +%patch04 -p1 -b .send-message-leak mkdir -p krb5-fakeprefix/include mkdir -p krb5-fakeprefix/lib @@ -531,6 +535,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Fri Mar 15 2013 Milan Crha - 3.6.4-3 +- Add patch for Red Hat bug #916890 (memory leaks during message send) + * Thu Mar 07 2013 Milan Crha - 3.6.4-2 - Add upstream patch to properly restore DConf settings from a backup