1
0
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:
szy 2015-03-05 11:15:30 +03:00 committed by bugmaster
parent 3062fdf993
commit 095999010f

View File

@ -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;
}