[PATCH 1/1] Fix memory leaks and use-after-free in window-choose

2012-10-10 Thread Carl Henrik Lunde
Collapsing the tree frees the list items, so we cannot take a reference into that list before calling collapse. This could be the source of the crash reported to the mailing list. This changes the code so we get a pointer to the session before collapsing the tree. Additionally I've found two mem

[PATCH 1/1] Add ability to show title of active pane in list-windows

2012-10-10 Thread Carl Henrik Lunde
This is useful for finding the right window, and can be used by other programs such as lash --- cmd-list-windows.c |1 + 1 file changed, 1 insertion(+) diff --git a/cmd-list-windows.c b/cmd-list-windows.c index 3be8ade..b36b5ee 100644 --- a/cmd-list-windows.c +++ b/cmd-list-windows.c @@ -99,6