diff options
author | nicm <nicm> | 2017-04-28 19:12:15 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-04-28 19:12:15 +0000 |
commit | bcd6b416749cbac712c29ee07049e98c5930c800 (patch) | |
tree | 1e4deb229c4415347ac88dee8fffc0ec09bf8ddb | |
parent | 92053cb4924e5c772ba52aca83437cf3da0a75fd (diff) | |
download | rtmux-bcd6b416749cbac712c29ee07049e98c5930c800.tar.gz rtmux-bcd6b416749cbac712c29ee07049e98c5930c800.tar.bz2 rtmux-bcd6b416749cbac712c29ee07049e98c5930c800.zip |
Remove a reference from the right window when removing from a winlink's
list.
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ winlink_set_window(struct winlink *wl, struct window *w) { if (wl->window != NULL) { TAILQ_REMOVE(&wl->window->winlinks, wl, wentry); - window_remove_ref(w); + window_remove_ref(wl->window); } TAILQ_INSERT_TAIL(&w->winlinks, wl, wentry); wl->window = w; |