summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kwin/files/kwin-4.0.4-memory-leak.patch')
-rw-r--r--kde-base/kwin/files/kwin-4.0.4-memory-leak.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/kde-base/kwin/files/kwin-4.0.4-memory-leak.patch b/kde-base/kwin/files/kwin-4.0.4-memory-leak.patch
deleted file mode 100644
index 2b07df24c97a..000000000000
--- a/kde-base/kwin/files/kwin-4.0.4-memory-leak.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- kdebase/workspace/kwin/layers.cpp 2008/05/05 07:22:45 804132
-+++ kdebase/workspace/kwin/layers.cpp 2008/05/05 07:23:32 804133
-@@ -721,7 +721,7 @@
- ToplevelList Workspace::rootStackingOrder() const
- {
- Window dummy;
-- Window* windows;
-+ Window* windows = NULL;
- unsigned int count = 0;
- XQueryTree( display(), rootWindow(), &dummy, &dummy, &windows, &count );
- ToplevelList ret;
-@@ -736,6 +736,8 @@
- }
- foreach( Deleted* c, deleted )
- ret.append( c );
-+ if( windows != NULL )
-+ XFree( windows );
- return ret;
- }
-