1
0
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:
dbv 2012-03-16 18:02:18 +04:00 committed by bugmaster
parent f767df4e8c
commit 938a360f65

View File

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