Fix leak of GdkEvent (#70519)
* gtk/gtkmenu.c (gtk_menu_popup): Fix leak of GdkEvent (#70519)
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user