Sync OpenBSD patchset 1081:

Only find each window once no matter how many panes, from Jonathan
Daugherty.
pull/1/head
Tiago Cunha 2012-04-10 09:44:58 +00:00
parent f881ff1c18
commit 86c1335452
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ cmd_find_window_exec(struct cmd *self, struct cmd_ctx *ctx)
ARRAY_ADD(&list_idx, wm->idx);
ARRAY_ADD(&list_ctx, sctx);
break;
}
}
xfree(searchstr);