]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Delete object to avoid a memory leak
authormpa <mpa@opencascade.com>
Tue, 15 Nov 2016 09:50:04 +0000 (12:50 +0300)
committermpa <mpa@opencascade.com>
Tue, 15 Nov 2016 09:50:04 +0000 (12:50 +0300)
src/SALOMEDS/SALOMEDS_Client.cxx

index 73f72ab39a0cbc06c9762ba02768b7d77926fbf0..006d0b7f7974202f9712e06d33103d96692b2dfe 100644 (file)
@@ -281,6 +281,7 @@ int main(int argc, char** argv)
     // Test basic services
     Test(myStudy);
 
+    delete salomens;
     orb->run();
     orb->destroy();
   }