rsibreak/rsibreak-0.9.0-memory_leak.patch

11 lines
465 B
Diff
Raw Normal View History

--- rsibreak-0.9.0/src/graywidget.cpp 2008-11-19 20:55:54.000000000 +0100
+++ rsibreak-0.9.0/src/graywidget.cpp.memoryleak 2009-05-22 19:37:10.000000000 +0200
@@ -69,6 +69,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();