mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user