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> 2006-05-25 Elijah Newren <newren gmail com>
* src/place.h: * src/place.h:

View File

@ -900,6 +900,7 @@ meta_display_close (MetaDisplay *display)
meta_display_shutdown_keys (display); meta_display_shutdown_keys (display);
if (display->compositor)
meta_compositor_unref (display->compositor); meta_compositor_unref (display->compositor);
g_free (display); g_free (display);