From d09fb9f806e67c437f8c4a5e8a04f5b9ca7a596c Mon Sep 17 00:00:00 2001 From: Aivars Kalvans Date: Tue, 12 Jul 2005 19:01:38 +0000 Subject: [PATCH] free ->xinerama_infos Closes bug#307884 2005-07-12 Aivars Kalvans * src/screen.c (meta_screen_free): free ->xinerama_infos Closes bug#307884 --- ChangeLog | 5 +++++ src/screen.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 72d9a309a..e8a174f1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-12 Aivars Kalvans + + * src/screen.c (meta_screen_free): free ->xinerama_infos + Closes bug#307884 + 2005-07-11 Elijah Newren Stuff I forgot to do when I branched an hour or so ago before diff --git a/src/screen.c b/src/screen.c index 04b453a18..890cf6206 100644 --- a/src/screen.c +++ b/src/screen.c @@ -735,6 +735,9 @@ meta_screen_free (MetaScreen *screen) XFreeGC (screen->display->xdisplay, screen->root_xor_gc); + if (screen->xinerama_infos) + g_free (screen->xinerama_infos); + g_free (screen->screen_name); g_free (screen);