mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Fix a crash on exit/logout from assuming a compositor would always exist
2006-05-26 Elijah Newren <newren gmail com> * src/display.c (meta_display_close): Fix a crash on exit/logout from assuming a compositor would always exist
This commit is contained in:
parent
35b47b59ab
commit
db87abfb19
@ -1,3 +1,8 @@
|
||||
2006-05-26 Elijah Newren <newren gmail com>
|
||||
|
||||
* src/display.c (meta_display_close): Fix a crash on exit/logout
|
||||
from assuming a compositor would always exist
|
||||
|
||||
2006-05-25 Elijah Newren <newren gmail com>
|
||||
|
||||
* src/place.h:
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user