Please see commits for details, each commit is unrelated but I thought it best to group these small changes together to save having 3 PRs with only simple changes in. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2271
-- Commit Summary --
* build.c: Fix memory leak in prepare_run_cmd() * build.c: Refactor set_stop_button() and remove 2 unnecessary casts * build.c: Inline add_menu_accel()
-- File Changes --
M src/build.c (51)
-- Patch Links --
https://github.com/geany/geany/pull/2271.patch https://github.com/geany/geany/pull/2271.diff