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:
parent
9ce5b286eb
commit
e249cd37f6
|
@ -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.
|
||||
----------------------------------------------------------------------
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue