I just discovered a memory leak while working on the vwarp() patch: I
forgot to add code which deletes the pattern variable for
eval_pattern()...the internal parts are cleaned up, but the structure
itself remains after the function returns.(oops!)
Just add
POV_FREE(New);
after the call to Destroy_TPat_Fields() in Parse_eval_pat().
--
Christopher James Huff - Personal e-mail: chr### [at] yahoo com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|