rpms/rsibreak/F-9 rsibreak-0.9.0-memory-leak.patch, NONE, 1.1 rsibreak.spec, 1.13, 1.14

Roland Wolters liquidat at fedoraproject.org
Thu Feb 26 20:45:32 UTC 2009


Author: liquidat

Update of /cvs/extras/rpms/rsibreak/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17926

Modified Files:
	rsibreak.spec 
Added Files:
	rsibreak-0.9.0-memory-leak.patch 
Log Message:
Fixing memory leak.

rsibreak-0.9.0-memory-leak.patch:

--- NEW FILE rsibreak-0.9.0-memory-leak.patch ---
Index: graywidget.cpp
===================================================================
--- rsibreak-0.9.0/src/graywidget.cpp	(revision 932368)
+++ rsibreak-0.9.0/src/graywidget.cpp	(working copy)
@@ -71,6 +71,7 @@
     KWindowSystem::setState( winId(), NET::KeepAbove );
     KWindowSystem::setState( winId(), NET::FullScreen );
 
+    delete m_gray;
     m_gray = new GrayOutEffect( this, &m_complete );
     connect( m_gray, SIGNAL( ready() ), m_dialog, SLOT( showDialog() ) );
     m_gray->start();


Index: rsibreak.spec
===================================================================
RCS file: /cvs/extras/rpms/rsibreak/F-9/rsibreak.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- rsibreak.spec	6 Feb 2009 13:09:37 -0000	1.13
+++ rsibreak.spec	26 Feb 2009 20:45:02 -0000	1.14
@@ -1,7 +1,7 @@
 
 Name:           rsibreak
 Version:        0.9.0
-Release:        6%{?dist}
+Release:        10%{?dist}
 Summary:        A small utility which bothers you at certain intervals
 Group:          Amusements/Graphics
 License:        GPLv2+
@@ -9,6 +9,7 @@
 Source0:        http://rsibreak.org/files/rsibreak-%{version}.tar.bz2
 # Patch to build against KDE 4.2, by Scott Kitterman from Kubuntu
 Patch0:         rsibreak-0.9.0-cmake-find-plasma.patch
+Patch1:         rsibreak-0.9.0-memory-leak.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  kdelibs4-devel desktop-file-utils gettext
@@ -24,6 +25,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .find-plasma
+%patch1 -p1 -b .graywidget
 
 %build
 mkdir -p %{_target_platform}
@@ -77,6 +79,12 @@
 %{_libdir}/kde4/plasma_applet_rsibreak.so                         
 
 %changelog
+* Thu Feb 26 2009 Artem S. Tashkinov <t.artem at mailcity.com> 0.9.0-10
+- trunk fix for memory leak
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.0-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
 * Fri Feb 06 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> 0.9.0-6
 - fix build against KDE 4.2 (patch from Kubuntu)
 




More information about the fedora-extras-commits mailing list