Return early if connect construct cell, reported by Jere Viikari.

This commit is contained in:
nicm
2026-06-14 08:47:44 +00:00
parent b1054ac227
commit 97472e374f

View File

@@ -379,6 +379,8 @@ layout_construct(struct layout_cell *lcparent, const char **layout,
struct layout_cell *lcchild;
*lc = layout_construct_cell(lcparent, layout);
if (*lc == NULL)
return (-1);
switch (**layout) {
case ',':