Author: lmontel
Date: Tue Jan 23 10:11:24 2007
New Revision: 112279

Added:
   packages/cooker/qt4/current/SOURCES/qt4-fix-mem-leak.patch
Modified:
   packages/cooker/qt4/current/SPECS/qt4.spec

Log:
Fix mem leak


Added: packages/cooker/qt4/current/SOURCES/qt4-fix-mem-leak.patch
==============================================================================
--- (empty file)
+++ packages/cooker/qt4/current/SOURCES/qt4-fix-mem-leak.patch  Tue Jan 23 
10:11:24 2007
@@ -0,0 +1,10 @@
+--- qt-x11-opensource-src-4.2.2/tools/qdbus/src/qdbusintegrator.cpp--  
2007-01-23 10:03:09.000000000 +0100
++++ qt-x11-opensource-src-4.2.2/tools/qdbus/src/qdbusintegrator.cpp    
2007-01-23 10:03:47.000000000 +0100
+@@ -537,6 +537,7 @@
+     if (QDBusMessagePrivate::isLocal(msg)) {
+         //qDebug() << "QDBusConnectionPrivate::activateCall" << 
msg.d_ptr->msg;
+         sendCallDeliveryEvent(call);
++      delete call;
+     } else {
+         postCallDeliveryEvent(call);
+     }

Modified: packages/cooker/qt4/current/SPECS/qt4.spec
==============================================================================
--- packages/cooker/qt4/current/SPECS/qt4.spec  (original)
+++ packages/cooker/qt4/current/SPECS/qt4.spec  Tue Jan 23 10:11:24 2007
@@ -59,7 +59,7 @@
 
 Name: %{qtlib}
 Version: %{qtversion}
-Release: %mkrel 8
+Release: %mkrel 9
 Epoch: 2
 Summary: Qt GUI toolkit
 Group: Development/KDE and Qt
@@ -75,6 +75,7 @@
 Patch0: qt4-uitools-sharedlib.patch
 Patch1:        0153-qdbuscpp2xml.diff 
 Patch2:        0142-uic3-wordWrapAttribute.diff
+Patch3:        SOURCES/qt4-fix-mem-leak.patch
 
 BuildRequires: glibc-devel
 
@@ -754,6 +755,7 @@
 %patch0 -p1 -b .uilib
 %patch1 -p0 -b .fix_qdbus_name
 %patch2 -p0 -b .fix_uic3_wordwrap
+%patch3 -p1 -b .fix_mem_leak
 
 %build
 export QTDIR=`/bin/pwd`

Reply via email to