diff options
Diffstat (limited to 'src/display.c')
-rw-r--r-- | src/display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/display.c b/src/display.c index 63147a8b..cf02a9e2 100644 --- a/src/display.c +++ b/src/display.c @@ -900,7 +900,8 @@ meta_display_close (MetaDisplay *display) meta_display_shutdown_keys (display); - meta_compositor_unref (display->compositor); + if (display->compositor) + meta_compositor_unref (display->compositor); g_free (display); |