[mac] Fix memory leak with menu updates

This commit is contained in:
Lea Anthony
2021-06-29 18:36:34 +10:00
parent e04db8775f
commit 2f311ee403

View File

@@ -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) {