mirror of
https://github.com/tmux/tmux.git
synced 2026-06-20 09:25:12 +00:00
Return early if connect construct cell, reported by Jere Viikari.
This commit is contained in:
@@ -379,6 +379,8 @@ layout_construct(struct layout_cell *lcparent, const char **layout,
|
|||||||
struct layout_cell *lcchild;
|
struct layout_cell *lcchild;
|
||||||
|
|
||||||
*lc = layout_construct_cell(lcparent, layout);
|
*lc = layout_construct_cell(lcparent, layout);
|
||||||
|
if (*lc == NULL)
|
||||||
|
return (-1);
|
||||||
|
|
||||||
switch (**layout) {
|
switch (**layout) {
|
||||||
case ',':
|
case ',':
|
||||||
|
|||||||
Reference in New Issue
Block a user