1
0
Fork 0

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:
Elijah Newren 2006-05-26 16:51:03 +00:00 committed by Elijah Newren
parent 35b47b59ab
commit db87abfb19
2 changed files with 7 additions and 1 deletions

View file

@ -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:

View file

@ -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);