diff --git a/.cvsignore b/.cvsignore index 78048b4..9820dda 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -at-spi-1.18.0.tar.bz2 +at-spi-1.18.1.tar.bz2 diff --git a/at-spi-1.18.0-ior-leak.patch b/at-spi-1.18.0-ior-leak.patch new file mode 100644 index 0000000..3c3580d --- /dev/null +++ b/at-spi-1.18.0-ior-leak.patch @@ -0,0 +1,15 @@ +--- 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/at-spi.spec b/at-spi.spec index 9983d30..927bf5f 100644 --- a/at-spi.spec +++ b/at-spi.spec @@ -7,12 +7,12 @@ Summary: Assistive Technology Service Provider Interface Name: at-spi -Version: 1.18.0 -Release: 2%{?dist} +Version: 1.18.1 +Release: 1%{?dist} URL: http://developer.gnome.org/projects/gap/ Source0: http://ftp.gnome.org/pub/gnome/sources/at-spi/1.18/%{name}-%{version}.tar.bz2 -# backport from upstream svn -Patch0: at-spi-1.18.0-deadlock.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=427836 +Patch0: at-spi-1.18.0-ior-leak.patch License: LGPL Group: System Environment/Libraries @@ -61,7 +61,8 @@ Libraries and header files allowing compilation of apps that use at-spi. %prep %setup -q -%patch0 -p1 -b .deadlock +%patch0 -p1 -b .ior-leak + %build %configure --disable-gtk-doc @@ -101,6 +102,11 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/* %changelog +* Mon Apr 9 2007 Matthias Clasen - 1.18.1-1 +- Update to 1.18.1, which includes the previous patch +- Drop obsolete patch +- Fix a small memory leak + * Mon Mar 26 2007 Matthias Clasen - 1.18.0-2 - Backport a patch to fix deadlocks in applications diff --git a/sources b/sources index bf73bb8..4ebdfc8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d77f3b7111a847903f66f5cb111ee89e at-spi-1.18.0.tar.bz2 +46c531204df5d39f7e83822372b0ce69 at-spi-1.18.1.tar.bz2