]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx
some memory leaks
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxVtkSceneManager.cxx
index d2d196262c7f214ab9f53c523f322c80836ef2c0..3740f982be9afc20d9c3e585f6913dc7afae0a2f 100644 (file)
@@ -39,7 +39,6 @@ Version:   $Revision$
  #include <vtkPolygon.h>
  #include <vtkUnstructuredGrid.h>
 
-
 namespace bbtk
 {
 
@@ -91,8 +90,10 @@ namespace bbtk
 
        wxVtkSceneManager::~wxVtkSceneManager()
        {
+               //FCY memory leaks
                printf ("EED %p ~wxVtkSceneManager()\n" , this );
                disconnectDrop();
+               delete _baseView;
        }
 
        //=========================================================================