diff options
author | Mart Raudsepp <leio@gentoo.org> | 2007-07-08 23:19:09 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2007-07-08 23:19:09 +0000 |
commit | 5b3fe5c90aece77e0585bdd81d77c6cc8e6b689d (patch) | |
tree | 3b1b113a59aeed95ac08505d1cf57cc05a944435 /gnome-extra/at-spi/files | |
parent | Pass -j1 to install. (diff) | |
download | gentoo-2-5b3fe5c90aece77e0585bdd81d77c6cc8e6b689d.tar.gz gentoo-2-5b3fe5c90aece77e0585bdd81d77c6cc8e6b689d.tar.bz2 gentoo-2-5b3fe5c90aece77e0585bdd81d77c6cc8e6b689d.zip |
Fix a couple of memory leaks, one of which can result in applications leaking hundreds of megabytes of memory in the matter of a day with lots of typing and assistive technology being enabled.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'gnome-extra/at-spi/files')
3 files changed, 39 insertions, 0 deletions
diff --git a/gnome-extra/at-spi/files/at-spi-1.18.0-ior-leak.patch b/gnome-extra/at-spi/files/at-spi-1.18.0-ior-leak.patch new file mode 100644 index 000000000000..6b62cff48c6e --- /dev/null +++ b/gnome-extra/at-spi/files/at-spi-1.18.0-ior-leak.patch @@ -0,0 +1,19 @@ +Patch from http://cvs.fedora.redhat.com/viewcvs/rpms/at-spi/F-7/at-spi-1.18.0-ior-leak.patch?rev=1.1&view=auto +to not have to duplicate efforts on just including the functional patch and leaving out the whitespace changes at +upstream http://svn.gnome.org/viewcvs/at-spi/trunk/atk-bridge/bridge.c?r1=903&r2=902&pathrev=903 + +--- at-spi-1.18.0/atk-bridge/bridge.c.ior-leak 2007-04-09 13:34:13.000000000 +0200 ++++ at-spi-1.18.0/atk-bridge/bridge.c 2007-04-09 13:35:35.000000000 +0200 +@@ -420,9 +420,11 @@ + /* XXX: This presumes that the registry has successfully restarted itself already...*/ + ior = (char *) spi_atk_bridge_get_registry_ior (); + +- if (ior != NULL) ++ if (ior != NULL) { + registry = CORBA_ORB_string_to_object (bonobo_activation_orb_get (), + ior, &ev); ++ XFree (ior); ++ } + else { + g_warning ("IOR not set."); + registry = CORBA_OBJECT_NIL; diff --git a/gnome-extra/at-spi/files/at-spi-1.18.1-focus-tracker-leak.patch b/gnome-extra/at-spi/files/at-spi-1.18.1-focus-tracker-leak.patch new file mode 100644 index 000000000000..6e7392d1ca14 --- /dev/null +++ b/gnome-extra/at-spi/files/at-spi-1.18.1-focus-tracker-leak.patch @@ -0,0 +1,17 @@ +Patch from http://svn.gnome.org/viewcvs/at-spi/trunk/atk-bridge/bridge.c?r1=902&r2=901&pathrev=902 +to fix a memory leak in spi_atk_bridge_focus_tracker codepath + +--- trunk/atk-bridge/bridge.c 2007/04/09 08:34:50 901 ++++ trunk/atk-bridge/bridge.c 2007/04/12 07:06:38 902 +@@ -714,7 +714,10 @@ + registry_died = TRUE; + + bonobo_object_unref (source); +- ++ ++ if (e.any_data._release) ++ CORBA_free (e.any_data._value); ++ + CORBA_exception_free (&ev); + } + diff --git a/gnome-extra/at-spi/files/digest-at-spi-1.18.1-r1 b/gnome-extra/at-spi/files/digest-at-spi-1.18.1-r1 new file mode 100644 index 000000000000..86b90c17028b --- /dev/null +++ b/gnome-extra/at-spi/files/digest-at-spi-1.18.1-r1 @@ -0,0 +1,3 @@ +MD5 46c531204df5d39f7e83822372b0ce69 at-spi-1.18.1.tar.bz2 780306 +RMD160 c5e60314414124388d025dc85effb5d9adf5d2b9 at-spi-1.18.1.tar.bz2 780306 +SHA256 3b0be3207eb5cf4b1c1666b1dcd341ac914802b5404defb812e3b2aa9e78e7aa at-spi-1.18.1.tar.bz2 780306 |