rpms/libbonobo/devel libbonobo-2.18.0-env-leak.patch, NONE, 1.1 libbonobo.spec, 1.53, 1.54
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Apr 10 11:52:43 UTC 2007
Author: mclasen
Update of /cvs/dist/rpms/libbonobo/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21638
Modified Files:
libbonobo.spec
Added Files:
libbonobo-2.18.0-env-leak.patch
Log Message:
Plug a small memory leak
libbonobo-2.18.0-env-leak.patch:
bonobo-activation-activate.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
--- NEW FILE libbonobo-2.18.0-env-leak.patch ---
--- libbonobo-2.18.0/bonobo-activation/bonobo-activation-activate.c.env-leak 2007-04-09 21:07:53.000000000 +0200
+++ libbonobo-2.18.0/bonobo-activation/bonobo-activation-activate.c 2007-04-09 21:08:27.000000000 +0200
@@ -817,8 +817,7 @@
activation_environment._release = TRUE;
for (i = 0; i < activation_environment._length - 1; i++)
- Bonobo_ActivationEnvValue_copy (
- &activation_environment._buffer [i], &old_buffer [i]);
+ activation_environment._buffer[i] = old_buffer[i];
Bonobo_ActivationEnvValue_set (&activation_environment._buffer [i], name, value);
Index: libbonobo.spec
===================================================================
RCS file: /cvs/dist/rpms/libbonobo/devel/libbonobo.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- libbonobo.spec 13 Mar 2007 17:19:16 -0000 1.53
+++ libbonobo.spec 10 Apr 2007 11:52:41 -0000 1.54
@@ -6,7 +6,7 @@
Summary: Bonobo component system
Name: libbonobo
Version: 2.18.0
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://ftp.gnome.org
Source0: http://ftp.gnome.org/pub/gnome/sources/libbonobo/2.18/%{name}-%{version}.tar.bz2
License: LGPL
@@ -24,6 +24,8 @@
Provides: bonobo-activation = %{version}-%{release}
Patch0: libbonobo-2.13.1-multishlib.patch
+# fixed in upstream svn
+Patch1: libbonobo-2.18.0-env-leak.patch
%description
Bonobo is a component system based on CORBA, used by the GNOME desktop.
@@ -55,6 +57,7 @@
%patch0 -p1 -b .multishlib
%endif
+%patch1 -p1 -b .env-leak
%build
intltoolize -f
@@ -120,6 +123,9 @@
%{_datadir}/gtk-doc/html/bonobo-activation
%changelog
+* Mon Apr 9 2007 Matthias Clasen <mclasen at redhat.com> - 2.18.0-2
+- Don't leak strings from the bonobo activation environment
+
* Tue Mar 13 2007 Matthias Clasen <mclasen at redhat.com> - 2.18.0-1
- Update to 2.18.0
More information about the fedora-cvs-commits
mailing list