]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Proposition of modification agy/ComeFromOT
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 24 Oct 2016 14:39:25 +0000 (16:39 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 24 Oct 2016 14:39:25 +0000 (16:39 +0200)
tools/PyConsole/src/PyConsole_Editor.cxx
tools/PyConsole/src/PyConsole_Interp.cxx

index 7ec727292b4a936526c2f8e0883212ee54059f88..3824f17a7be164214c271ff266c3f442ee225f8f 100644 (file)
@@ -219,6 +219,7 @@ void PyConsole_Editor::init( PyConsole_Interp* interp )
 */
 PyConsole_Editor::~PyConsole_Editor()
 {
+  delete myInterp;
   myInterp = 0;
 }
 
index 7224136868f91715b3d7d3edaecb490bcda37005..b921a36d95fd5f8884c7497beccf92319a217275 100644 (file)
@@ -56,6 +56,7 @@ PyConsole_Interp::PyConsole_Interp()
 */
 PyConsole_Interp::~PyConsole_Interp()
 {
+  destroy();
 }
 
 /*!