mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0025524: XmlTObjDrivers_ModelDriver::Paste will cause crash when saving model.
This commit is contained in:
parent
3062fdf993
commit
095999010f
@ -106,6 +106,6 @@ void XmlTObjDrivers_ModelDriver::Paste
|
||||
// Store model GUID.
|
||||
Standard_PCharacter aPGuidString = new Standard_Character[256];
|
||||
aModel->GetGUID().ToCString( aPGuidString );
|
||||
XmlObjMgt::SetExtendedString (Target, *aPGuidString);
|
||||
XmlObjMgt::SetExtendedString (Target, aPGuidString);
|
||||
delete []aPGuidString;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user