From e7948a1c2737d20b46b4665820042360b0cf557b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= Date: Thu, 8 Jan 2015 13:45:38 +0100 Subject: Fix double free at exit time. On Ubuntu (system used by the problem reporter) this is a double free, on OpenBSD with S in malloc.conf it ends in a SIGBUS probably because of the aggressive junking. --- src/xinerama.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xinerama.c b/src/xinerama.c index f037b05..a8bceb2 100644 --- a/src/xinerama.c +++ b/src/xinerama.c @@ -66,6 +66,7 @@ init_xinerama(void) } if (xine_screen_count < 2) { XFree (xine_screens); + xine_screens = NULL; return; } -- cgit v1.2.3