Wed May 22 16:17:24 2002 Michael Jennings (mej)

Fixed duplicate freeing of menu background pixmap.


SVN revision: 6271
This commit is contained in:
Michael Jennings 2002-05-22 20:19:28 +00:00
parent 9ce5b286eb
commit e249cd37f6
2 changed files with 7 additions and 0 deletions

View File

@ -4667,3 +4667,7 @@ Wed May 22 11:37:19 2002 Michael Jennings (mej)
Latest Escreen work from Azundris <scream@azundris.com>.
----------------------------------------------------------------------
Wed May 22 16:17:24 2002 Michael Jennings (mej)
Fixed duplicate freeing of menu background pixmap.
----------------------------------------------------------------------

View File

@ -502,6 +502,9 @@ menu_delete(menu_t *menu)
FREE(menu->title);
}
if (menu->bg) {
if (images[image_menu].norm->pmap->pixmap == menu->bg) {
images[image_menu].norm->pmap->pixmap = None;
}
LIBAST_X_FREE_PIXMAP(menu->bg);
}
if (menu->gc) {