]> SALOME platform Git repositories - modules/kernel.git/commit
Salome HOME
21948: EDF SMESH : Memory is not freed when deleting a mesh
authoreap <eap@opencascade.com>
Fri, 14 Dec 2012 10:37:47 +0000 (10:37 +0000)
committereap <eap@opencascade.com>
Fri, 14 Dec 2012 10:37:47 +0000 (10:37 +0000)
commitf7d7e0eacca35b3168f0c8c970d9cc96e0e1577f
treef496b3f5a60e4b97162af137f944698078fa8f6b
parentd954a2a7a14c5cc792872451e109a968a3e8f7bb
21948: EDF SMESH : Memory is not freed when deleting a mesh

-      SALOMEDSImpl_AttributeIOR::Set (current, ior_string);
+      SALOMEDSImpl_AttributeIOR* iorAttr = SALOMEDSImpl_AttributeIOR::Set (current, ior_string);

+      // make myRefCounter of a loaded GenericObj == 1
+      SALOMEDSImpl_Study::UnRegisterGenObj( ior_string, iorAttr->Label());
src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx