POV-Ray : Newsgroups : povray.binaries.programming : Mac Superpatch Adaption Kit : Re: Mac Superpatch Adaption Kit Server Time
23 Apr 2024 23:39:19 EDT (-0400)
  Re: Mac Superpatch Adaption Kit  
From: Thorsten Froehlich
Date: 24 Nov 1999 01:23:40
Message: <383b846c@news.povray.org>
In article <231119991227298575%chr### [at] yahoocom> , Chris Huff 
<chr### [at] yahoocom>  wrote:

> POV crashes on completion of render using isosurface
> The fix(temporary, probably causes memory leak): In the file f_func.c,
> in the function Destroy_Function(), comment out this line(line 1050):
>       if (Func->pnum >0) POV_FREE (Func->parm);

You may also want to check for Func->parm != NULL and of course make sure
Func->parm is inited to NULL somewhere. Also, after calling
POV_FREE(Func->parm), you should set Func->parm = NULL so if for some reason
POV_FREE(Func->parm) is called again (anywhere) it will cause POV_FREE to
report that problem.


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.