summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnome-applets.spec9
-rw-r--r--info-leak.patch11
2 files changed, 19 insertions, 1 deletions
diff --git a/gnome-applets.spec b/gnome-applets.spec
index 5e96402..a44bd25 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -35,7 +35,7 @@
Summary: Small applications for the GNOME panel
Name: gnome-applets
Version: 2.23.92
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
License: GPLv2+ and GFDL
Group: User Interface/Desktops
@@ -64,6 +64,9 @@ Patch39: gweather-network.patch
# do the nullapplet dance for battstat
Patch40: gnome-applets-null-battstat.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=552577
+Patch42: info-leak.patch
+
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
@@ -149,6 +152,7 @@ small utilities for the GNOME panel.
%patch33 -p1 -b .node-leak
%patch39 -p1 -b .gweather-network
%patch40 -p1 -b .battstat-null
+%patch42 -p1 -b .info-leak
# We don't ship gnome-system-tools
rm -rf modemlights
@@ -308,6 +312,9 @@ fi
%{_datadir}/PolicyKit/policy/org.gnome.cpufreqselector.policy
%changelog
+* Tue Sep 16 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.23.92-2
+- Plug a leak in the trash applet
+
* Tue Sep 9 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.23.92-1
- Update to 2.23.92
diff --git a/info-leak.patch b/info-leak.patch
new file mode 100644
index 0000000..be89737
--- /dev/null
+++ b/info-leak.patch
@@ -0,0 +1,11 @@
+diff -up gnome-applets-2.23.92/trashapplet/src/trashapplet.c.info-leak gnome-applets-2.23.92/trashapplet/src/trashapplet.c
+--- gnome-applets-2.23.92/trashapplet/src/trashapplet.c.info-leak 2008-09-16 22:38:24.000000000 -0400
++++ gnome-applets-2.23.92/trashapplet/src/trashapplet.c 2008-09-16 22:39:29.000000000 -0400
+@@ -148,6 +148,7 @@ trash_applet_monitor_changed (TrashApple
+ }
+
+ g_object_unref (icon);
++ g_object_unref (info);
+ }
+
+ static void