From: mpa Date: Tue, 15 Nov 2016 09:50:04 +0000 (+0300) Subject: Delete object to avoid a memory leak X-Git-Tag: Before_python3_27062017~1^2~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6474fade161f208f137c563fda40e7346235bd9e;p=modules%2Fkernel.git Delete object to avoid a memory leak --- diff --git a/src/SALOMEDS/SALOMEDS_Client.cxx b/src/SALOMEDS/SALOMEDS_Client.cxx index 73f72ab39..006d0b7f7 100644 --- a/src/SALOMEDS/SALOMEDS_Client.cxx +++ b/src/SALOMEDS/SALOMEDS_Client.cxx @@ -281,6 +281,7 @@ int main(int argc, char** argv) // Test basic services Test(myStudy); + delete salomens; orb->run(); orb->destroy(); }