POV-Ray : Newsgroups : povray.unofficial.patches : Fix for a bug in the SuperPatch and UVPov : Re: Fix for a bug in the SuperPatch and UVPov Server Time
2 Sep 2024 16:15:28 EDT (-0400)
  Re: Fix for a bug in the SuperPatch and UVPov  
From: Nathan Kopp
Date: 30 Nov 1999 22:58:15
Message: <38449cd7@news.povray.org>
Mark Wagner <mar### [at] gtenet> wrote...
> In both the SuperPatch and UVPov there is a memory leakage that occurs
> whenever Copy_Object is called.  The bug is that the UV transform for the
> object is copied twice -- once by COPY_OBJECT_FIELDS and once by
> Copy_Object.  As a result, the memory used by the first copy is lost.  The
> fix for this is to remove one of the instances of copying the UV
transform.

COPY_OBJECT_FIELDS doesn't exist in UVPov (or at least it shouldn't).  (So
UVPov shouldn't have this problem.)

-Nathan


Post a reply to this message

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