X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FGObjectsMVCFactory.cxx;h=0b299b8e9922f2559565e82451d45c7bd841f5f6;hb=7a77e00abe30e71c3a97f7a43b106c999ce9db87;hp=d495b72ea90ae4649dabc3d18b5465c5500b9ad6;hpb=b1e96d2f19691cf4ba5247c5042b0238e71676b1;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.cxx index d495b72..0b299b8 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.cxx @@ -82,6 +82,8 @@ namespace bbtk void GObjectsMVCFactory :: destroyInstance() { + //FCY memory leaks + delete instance; instance=NULL; }