sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit fb73f84d0e020d286ecb8d3c437ceac932e30d3a
parent a6363d1206784c4f28df47801f2d6fb1709587dc
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue,  5 Feb 2019 14:41:52 +0100

Merge pull request #3579 from RedSoxFan/fix-workspace-gaps-double-free

cmd_workspace_gaps: fix double free on bad amount
Diffstat:
Msway/commands/workspace.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/sway/commands/workspace.c b/sway/commands/workspace.c @@ -76,7 +76,6 @@ static struct cmd_results *cmd_workspace_gaps(int argc, char **argv, char *end; int amount = strtol(argv[gaps_location + 2], &end, 10); if (strlen(end)) { - free(end); return cmd_results_new(CMD_FAILURE, expected); }