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] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|