]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.cxx
some memory leaks
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / GObjectsMVCFactory.cxx
index d495b72ea90ae4649dabc3d18b5465c5500b9ad6..0b299b8e9922f2559565e82451d45c7bd841f5f6 100644 (file)
@@ -82,6 +82,8 @@ namespace bbtk
 
        void GObjectsMVCFactory :: destroyInstance()
        {
+               //FCY memory leaks
+               delete instance;
                instance=NULL;
        }