Re: libart: transforming svp's




On Fri, 7 Apr 2000, Ali Abdin wrote:

> * chrismail@gnwy100.wuh.wustl.edu (chrismail@gnwy100.wuh.wustl.edu) wrote at 21:52 on 07/04/00:
> >  
> >  /* clean up memory */  
> >   art_free(svp);
> 
> I would like to point out that this will cause a memory leak ;)
> 
> I just tried this today, so i know what i'm talking about. Use art_svp_free.
> 
> I also think that you may need to use art_vpath_free too.

No. ArtVpath is simple structure (does not contain pointers) and ArtVpath
* therefore simple plain array. Use art_new/art_free or g_new/g_free or

Lauris.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]