mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0022543: Attempt to fix some errors reported by valgrind at Draw execution
Changes: Added delete for a_string in src/Draw/Draw_Interpretor.cxx
This commit is contained in:
parent
f767df4e8c
commit
938a360f65
@ -260,6 +260,8 @@ void Draw_Interpretor::Add(const Standard_CString n,
|
||||
|
||||
Tcl_SetVar2(myInterp,"Draw_Files",pN,a_string,TCL_GLOBAL_ONLY);
|
||||
|
||||
delete [] a_string;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user