Fix leak of GdkEvent (#70519)

* gtk/gtkmenu.c (gtk_menu_popup):
Fix leak of GdkEvent (#70519)
This commit is contained in:
Padraig O'Briain
2002-02-04 17:46:33 +00:00
parent 9c61501877
commit 402f5b9d93
8 changed files with 37 additions and 0 deletions

View File

@ -727,6 +727,8 @@ gtk_menu_popup (GtkMenu *menu,
if ((current_event->type != GDK_BUTTON_PRESS) &&
(current_event->type != GDK_ENTER_NOTIFY))
menu_shell->ignore_enter = TRUE;
gdk_event_free (current_event);
}
if (menu->torn_off)