Detected using valgrind
@ -337,8 +337,9 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
, magniferDisplayViewWidget(0)
, mZLayerController(new UBZLayerController(this))
, mpLastPolygon(NULL)
, mCurrentPolygon(0)
, mTempPolygon(NULL)
, mDrawWithCompass(false)
, mSelectionFrame(0)
{
UBCoreGraphicsScene::setObjectName("BoardScene");