From 6eafd65d0091975dc07e6526e7e4b8893ee9597e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 10 Feb 2008 21:52:05 +0000 Subject: [PATCH] Fix freeing uninitialized pointer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23941 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/fontdemo/FontDemoView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/fontdemo/FontDemoView.cpp b/src/apps/fontdemo/FontDemoView.cpp index 6fd7751496..87dbff30f8 100644 --- a/src/apps/fontdemo/FontDemoView.cpp +++ b/src/apps/fontdemo/FontDemoView.cpp @@ -29,7 +29,8 @@ FontDemoView::FontDemoView(BRect rect) fOutLineLevel(0), fDrawingMode(B_OP_COPY), fBoundingBoxes(false), - fDrawShapes(false) + fDrawShapes(false), + fShapes(NULL) { SetViewColor(B_TRANSPARENT_COLOR); SetString("Haiku, inc.");