KStatusNotifierItem leaks D-Bus connections (#667787, kde#261180)

This commit is contained in:
Rex Dieter 2011-06-14 09:20:27 -05:00
parent 5bb5ea39af
commit 3ba22ac8f4
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -up kdelibs-4.6.80/kdeui/notifications/kstatusnotifieritem.cpp.dbus_leak kdelibs-4.6.80/kdeui/notifications/kstatusnotifieritem.cpp
--- kdelibs-4.6.80/kdeui/notifications/kstatusnotifieritem.cpp.dbus_leak 2011-05-20 15:24:54.000000000 -0500
+++ kdelibs-4.6.80/kdeui/notifications/kstatusnotifieritem.cpp 2011-06-14 09:13:40.010087693 -0500
@@ -119,6 +119,7 @@ KStatusNotifierItem::~KStatusNotifierIte
delete d->notificationsClient;
delete d->systemTrayIcon;
delete d->menu;
+ delete d->statusNotifierItemDBus;
delete d;
KGlobal::deref();
}

View File

@ -16,7 +16,7 @@
Summary: KDE Libraries
Version: 4.6.4
Release: 1%{?dist}
Release: 2%{?dist}
Name: kdelibs
Epoch: 6
@ -94,6 +94,9 @@ Patch50: kdelibs-4.5.1-knewstuff_gpg2.patch
# https://bugs.kde.org/show_bug.cgi?id=269045
# https://git.reviewboard.kde.org/r/101231/
Patch51: kdelibs-4.6.2-uri_mimetypes.patch
# http://bugzilla.redhat.com/667787
# http://bugs.kde.org/261180
Patch52: kdelibs-4.6.80-kstatusnotifieritem_dbus_leak.patch
## 4.6 upstream
@ -280,6 +283,7 @@ sed -i -e "s|@@VERSION_RELEASE@@|%{version}-%{release}|" kio/kio/kprotocolmanage
# upstreamable patches
%patch50 -p1 -b .knewstuff_gpg2
%patch51 -p1 -b .uri_mimetypes
%patch52 -p1 -b .kstatusnotifieritem_dbus_leak
# 4.6 upstream patches
@ -537,6 +541,9 @@ rm -rf %{buildroot}
%changelog
* Tue Jun 14 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.4-2
- KStatusNotifierItem leaks D-Bus connections (#667787, kde#261180)
* Mon Jun 06 2011 Than Ngo <than@redhat.com> - 4.6.4-1
- 4.6.4