mirror of
https://github.com/taigrr/wails.git
synced 2026-04-16 11:44:49 -07:00
[mac] Fix memory leak with menu updates
This commit is contained in:
@@ -131,7 +131,7 @@ void UpdateTrayMenuLabelInStore(TrayMenuStore* store, const char* JSON) {
|
||||
|
||||
UpdateTrayLabel(menu, Label, fontName, fontSize, RGBA, tooltip, disabled, styledLabel);
|
||||
|
||||
|
||||
json_delete(parsedUpdate);
|
||||
}
|
||||
|
||||
void UpdateTrayMenuInStore(TrayMenuStore* store, const char* menuJSON) {
|
||||
|
||||
Reference in New Issue
Block a user