POV-Ray : Newsgroups : povray.programming : Memory leak in pvbmp.c (POV-Ray windows version) : Re: Memory leak in pvbmp.c (POV-Ray windows version) Server Time
28 Jul 2024 12:25:07 EDT (-0400)
  Re: Memory leak in pvbmp.c (POV-Ray windows version)  
From: Pabs
Date: 5 Mar 2001 20:46:45
Message: <3aa44185$1@news.povray.org>
Vahur Krouverk wrote:

> Memory leak is in pvbmp.c file, line 744, where buffer is allocated for
> filling bitmap file with line info, containing in the beginning BMP
> magic bytes, but this buffer is never released.
> ====================8<===================
>       magic = POV_MALLOC(((*width*24+31)/32)*4, "BMP magic");
> <---allocation

AFAIK all mem allocated by POV_MALLOC is automatically freed.
But I am probably wrong.
--
Bye,
Pabs


Post a reply to this message

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