mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 14:16:18 +00:00
Do not crash when freeing layout cell, reported by Jere Viikari.
This commit is contained in:
@@ -304,8 +304,7 @@ layout_parse(struct window *w, const char *layout, char **cause)
|
||||
layout_print_cell(tiled_lc, __func__, 0);
|
||||
|
||||
/* Free the floating layout cell, no longer needed. */
|
||||
if (floating_lc != NULL)
|
||||
layout_free_cell(floating_lc);
|
||||
layout_free_cell(floating_lc);
|
||||
|
||||
notify_window("window-layout-changed", w);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user