diff options
Diffstat (limited to 'sway/workspace.c')
-rw-r--r-- | sway/workspace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/workspace.c b/sway/workspace.c index 17b56416..82573d2e 100644 --- a/sway/workspace.c +++ b/sway/workspace.c | |||
@@ -100,10 +100,9 @@ char *workspace_next_name(const char *output_name) { | |||
100 | 100 | ||
101 | if (binding->order < order) { | 101 | if (binding->order < order) { |
102 | order = binding->order; | 102 | order = binding->order; |
103 | free(target); | ||
103 | target = _target; | 104 | target = _target; |
104 | sway_log(L_DEBUG, "Workspace: Found free name %s", _target); | 105 | sway_log(L_DEBUG, "Workspace: Found free name %s", _target); |
105 | free(dup); | ||
106 | break; | ||
107 | } | 106 | } |
108 | } | 107 | } |
109 | free(dup); | 108 | free(dup); |