summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index a11d7fe9..2c2b3dc3 100644
--- a/src/window.c
+++ b/src/window.c
@@ -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,