[GRASS-dev] Memory freeing errors in NVIZ [bug #4246]

Cedric Shock cedricgrass at shockfamily.net
Thu May 25 15:58:29 EDT 2006


Hamish,

If there isn't anything else important in 4246, go ahead and close it if this 
fixed it for you. 

I checked and fixed frees related to every occurrence of Tcl_SplitList since 
its easy to find. It's also used to set the second argument of Ngetargs, so I 
followed it as well (it never gets freed).

This command run in the nviz directory generates a huge list of other things 
that could be checked:

fgrep -n Tcl_ *.c | fgrep -v Tcl_Interp | fgrep -v Tcl_Get | fgrep -v Tcl_Free 
| fgrep -v Tcl_SetResult | fgrep -v Tcl_CreateCommand | fgrep -v 
Tcl_SplitList

--Cedric




More information about the grass-dev mailing list