mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-11-22 03:02:49 +00:00
Fix crash when dbusmenu was double freed
Apparently gtk_menu_detach unrefs the menu
This commit is contained in:
parent
4ed6c06449
commit
a868f3e8e5
1 changed files with 0 additions and 1 deletions
|
@ -274,7 +274,6 @@ namespace SNI
|
||||||
if (item.dbusMenu)
|
if (item.dbusMenu)
|
||||||
{
|
{
|
||||||
gtk_menu_detach(item.dbusMenu);
|
gtk_menu_detach(item.dbusMenu);
|
||||||
g_free(item.dbusMenu);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue