diff options
| author | Drew DeVault <sir@cmpwn.com> | 2019-02-05 14:41:52 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-05 14:41:52 +0100 | 
| commit | fb73f84d0e020d286ecb8d3c437ceac932e30d3a (patch) | |
| tree | bc3ed187e304d0bd2fa76d4bb2a8a6ef2a38cb08 /sway/commands/workspace.c | |
| parent | a6363d1206784c4f28df47801f2d6fb1709587dc (diff) | |
| parent | f2abe0570ff2febe8a25de122c8dc95c49ef8282 (diff) | |
| download | sway-fb73f84d0e020d286ecb8d3c437ceac932e30d3a.tar.xz | |
Merge pull request #3579 from RedSoxFan/fix-workspace-gaps-double-free
cmd_workspace_gaps: fix double free on bad amount
Diffstat (limited to 'sway/commands/workspace.c')
| -rw-r--r-- | sway/commands/workspace.c | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/sway/commands/workspace.c b/sway/commands/workspace.c index c5d6435a..65a3f407 100644 --- 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);  	} | 
