Fix memory bug (invalid free) introduced in 2007-04-02 strut cleanup

2007-04-07  Elijah Newren  <newren gmail com>

	* src/window.c (meta_window_free): Fix memory bug (invalid free)
	introduced in 2007-04-02 strut cleanup commit.  Part of #427385.

svn path=/trunk/; revision=3173
This commit is contained in:
Elijah Newren 2007-04-07 21:42:05 +00:00 committed by Elijah Newren
parent 8fe344db51
commit 745906b7db
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-04-07 Elijah Newren <newren gmail com>
* src/window.c (meta_window_free): Fix memory bug (invalid free)
introduced in 2007-04-02 strut cleanup commit. Part of #427385.
2007-04-05 Thomas Thurman <thomas@thurman.org.uk>
* src/theme_parser.c: if theme is invalid and therefore got

View File

@ -996,7 +996,7 @@ meta_window_free (MetaWindow *window,
if (window->struts)
{
g_free (window->struts);
meta_free_gslist_and_elements (window->struts);
window->struts = NULL;
meta_topic (META_DEBUG_WORKAREA,