Fix crash when dbusmenu was double freed

Apparently gtk_menu_detach unrefs the menu
This commit is contained in:
scorpion-26 2024-02-16 20:36:15 +01:00
parent 4ed6c06449
commit a868f3e8e5

View file

@ -274,7 +274,6 @@ namespace SNI
if (item.dbusMenu)
{
gtk_menu_detach(item.dbusMenu);
g_free(item.dbusMenu);
}
}