Remove premature break

This commit is contained in:
Mikkel Oscar Lyderik 2016-04-30 09:13:05 +02:00
parent 95d5c1e5ed
commit 1f8b6b86dd

View file

@ -100,10 +100,9 @@ char *workspace_next_name(const char *output_name) {
if (binding->order < order) { if (binding->order < order) {
order = binding->order; order = binding->order;
free(target);
target = _target; target = _target;
sway_log(L_DEBUG, "Workspace: Found free name %s", _target); sway_log(L_DEBUG, "Workspace: Found free name %s", _target);
free(dup);
break;
} }
} }
free(dup); free(dup);