Fix crash due to uninitialized lastwp member of layout_cell, reported by

Balazs Kezes.
This commit is contained in:
nicm
2014-02-22 18:01:10 +00:00
parent c7f3599ebc
commit 315d45a0eb
2 changed files with 4 additions and 2 deletions

View File

@ -53,6 +53,7 @@ layout_create_cell(struct layout_cell *lcparent)
lc->yoff = UINT_MAX;
lc->wp = NULL;
lc->lastwp = NULL;
return (lc);
}