mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0023392: Memory leak in OCAF in debug mode
TDF_LabelNode::Destroy() does not free memory for entry strings TCollection_AsciiString myDebugEntry problem was corrected.
This commit is contained in:
parent
17f65eb229
commit
536416f3d2
@ -93,7 +93,7 @@ void TDF_LabelNode::Destroy (const TDF_HAllocator& theAllocator)
|
|||||||
myFirstChild->Destroy (theAllocator);
|
myFirstChild->Destroy (theAllocator);
|
||||||
myFirstChild = aSecondChild;
|
myFirstChild = aSecondChild;
|
||||||
}
|
}
|
||||||
myFirstAttribute.Nullify();
|
this->~TDF_LabelNode();
|
||||||
myFather = myBrother = myFirstChild = myLastFoundChild = NULL;
|
myFather = myBrother = myFirstChild = myLastFoundChild = NULL;
|
||||||
myTag = myFlags = 0;
|
myTag = myFlags = 0;
|
||||||
|
|
||||||
|
5
tests/offset/wire_unclosed_outside_0_005/C3
Normal file → Executable file
5
tests/offset/wire_unclosed_outside_0_005/C3
Normal file → Executable file
@ -1,4 +1,7 @@
|
|||||||
puts "TODO OCC23068 ALL: TEST INCOMPLETE"
|
puts "TODO ?OCC23068 ALL: TEST INCOMPLETE"
|
||||||
|
puts "TODO ?OCC23068 ALL: Error : The offset can not be build."
|
||||||
|
puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||||
|
puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
restore [locate_data_file offset_wire_074.brep] s
|
restore [locate_data_file offset_wire_074.brep] s
|
||||||
|
|
||||||
set length 0
|
set length 0
|
||||||
|
@ -13,7 +13,7 @@ if {
|
|||||||
puts "TODO OCC23360 $os: \\*\\* Exception \\*\\*.*"
|
puts "TODO OCC23360 $os: \\*\\* Exception \\*\\*.*"
|
||||||
} elseif {
|
} elseif {
|
||||||
[string compare $os "Mandriva2008"] == 0
|
[string compare $os "Mandriva2008"] == 0
|
||||||
|| [string compare $os "Mandriva2020"] == 0
|
|| [string compare $os "Mandriva2010"] == 0
|
||||||
} {
|
} {
|
||||||
puts "TODO OCC23068 $os: Error : The offset can not be build."
|
puts "TODO OCC23068 $os: Error : The offset can not be build."
|
||||||
puts "TODO OCC23068 $os: An exception was caught"
|
puts "TODO OCC23068 $os: An exception was caught"
|
||||||
|
5
tests/offset/wire_unclosed_outside_0_025/C3
Normal file → Executable file
5
tests/offset/wire_unclosed_outside_0_025/C3
Normal file → Executable file
@ -1,4 +1,7 @@
|
|||||||
puts "TODO OCC23068 ALL: TEST INCOMPLETE"
|
puts "TODO ?OCC23068 ALL: TEST INCOMPLETE"
|
||||||
|
puts "TODO ?OCC23068 ALL: Error : The offset can not be build."
|
||||||
|
puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||||
|
puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
restore [locate_data_file offset_wire_074.brep] s
|
restore [locate_data_file offset_wire_074.brep] s
|
||||||
|
|
||||||
set length 0
|
set length 0
|
||||||
|
5
tests/offset/wire_unclosed_outside_0_075/C3
Normal file → Executable file
5
tests/offset/wire_unclosed_outside_0_075/C3
Normal file → Executable file
@ -1,4 +1,7 @@
|
|||||||
puts "TODO OCC23068 ALL: TEST INCOMPLETE"
|
puts "TODO ?OCC23068 ALL: TEST INCOMPLETE"
|
||||||
|
puts "TODO ?OCC23068 ALL: Error : The offset can not be build."
|
||||||
|
puts "TODO ?OCC23068 ALL: An exception was caught"
|
||||||
|
puts "TODO ?OCC23068 ALL: \\*\\* Exception \\*\\*.*"
|
||||||
restore [locate_data_file offset_wire_074.brep] s
|
restore [locate_data_file offset_wire_074.brep] s
|
||||||
|
|
||||||
set length 0
|
set length 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user