free ->xinerama_infos Closes bug#307884

2005-07-12  Aivars Kalvans <aivars.kalvans@inbox.lv>

        * src/screen.c (meta_screen_free): free ->xinerama_infos
        Closes bug#307884
This commit is contained in:
Aivars Kalvans 2005-07-12 19:01:38 +00:00 committed by Aivars Kalvans
parent 61c6519798
commit d09fb9f806
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-07-12 Aivars Kalvans <aivars.kalvans@inbox.lv>
* src/screen.c (meta_screen_free): free ->xinerama_infos
Closes bug#307884
2005-07-11 Elijah Newren <newren@gmail.com> 2005-07-11 Elijah Newren <newren@gmail.com>
Stuff I forgot to do when I branched an hour or so ago before Stuff I forgot to do when I branched an hour or so ago before

View File

@ -735,6 +735,9 @@ meta_screen_free (MetaScreen *screen)
XFreeGC (screen->display->xdisplay, XFreeGC (screen->display->xdisplay,
screen->root_xor_gc); screen->root_xor_gc);
if (screen->xinerama_infos)
g_free (screen->xinerama_infos);
g_free (screen->screen_name); g_free (screen->screen_name);
g_free (screen); g_free (screen);