Fix freeing uninitialized pointer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23941 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6c1399c4b0
commit
6eafd65d00
@ -29,7 +29,8 @@ FontDemoView::FontDemoView(BRect rect)
|
|||||||
fOutLineLevel(0),
|
fOutLineLevel(0),
|
||||||
fDrawingMode(B_OP_COPY),
|
fDrawingMode(B_OP_COPY),
|
||||||
fBoundingBoxes(false),
|
fBoundingBoxes(false),
|
||||||
fDrawShapes(false)
|
fDrawShapes(false),
|
||||||
|
fShapes(NULL)
|
||||||
{
|
{
|
||||||
SetViewColor(B_TRANSPARENT_COLOR);
|
SetViewColor(B_TRANSPARENT_COLOR);
|
||||||
SetString("Haiku, inc.");
|
SetString("Haiku, inc.");
|
||||||
|
Loading…
Reference in New Issue
Block a user