X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPyInterp%2FPyInterp_Event.cxx;h=f6a6f4c080a5960d2035809c27a4aa724042ebee;hb=2b460648e9df51f73967eb072a63e7ef61d891fb;hp=398b73e16a4ccec8a26de5ddc01c926d000ea68f;hpb=034a705024b224972c148e1e3834c5ee38df184b;p=modules%2Fgui.git diff --git a/src/PyInterp/PyInterp_Event.cxx b/src/PyInterp/PyInterp_Event.cxx index 398b73e16..f6a6f4c08 100644 --- a/src/PyInterp/PyInterp_Event.cxx +++ b/src/PyInterp/PyInterp_Event.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -26,6 +26,12 @@ #include "PyInterp_Event.h" #include "PyInterp_Request.h" +PyInterp_Event::~PyInterp_Event() +{ + PyInterp_Request::Destroy( myRequest ); + myRequest = 0; +} + void PyInterp_ExecuteEvent::Execute() { myRequest->execute();