summaryrefslogtreecommitdiffstats
path: root/metacity-2.18.5-dont-deref-null-pointer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'metacity-2.18.5-dont-deref-null-pointer.patch')
-rw-r--r--metacity-2.18.5-dont-deref-null-pointer.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/metacity-2.18.5-dont-deref-null-pointer.patch b/metacity-2.18.5-dont-deref-null-pointer.patch
new file mode 100644
index 0000000..5c66d18
--- /dev/null
+++ b/metacity-2.18.5-dont-deref-null-pointer.patch
@@ -0,0 +1,12 @@
+diff -up metacity-2.18.5/src/session.c.dont-deref-null-pointer metacity-2.18.5/src/session.c
+--- metacity-2.18.5/src/session.c.dont-deref-null-pointer 2007-09-11 15:41:23.000000000 -0400
++++ metacity-2.18.5/src/session.c 2007-09-11 15:41:34.000000000 -0400
+@@ -1824,8 +1824,6 @@ warn_about_lame_clients_and_finish_inter
+
+ display_iter = display_iter->next;
+ }
+- /* don't need to free displays */
+- displays = NULL;
+
+ if (lame == NULL)
+ {