diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2015-01-08 13:45:38 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2015-01-08 13:47:12 +0100 |
commit | e7948a1c2737d20b46b4665820042360b0cf557b (patch) | |
tree | a542d23402f4fe47093bda2782e237ee037166a7 | |
parent | 0c9bfbf8878716cadf59db16d512063b05755ae0 (diff) | |
download | ratpoison-e7948a1c2737d20b46b4665820042360b0cf557b.zip |
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.
-rw-r--r-- | src/xinerama.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |