Re: libart: transforming svp's
- From: Lauris Kaplinski <lauris ariman ee>
- To: Ali Abdin <aliabdin aucegypt edu>
- cc: clee v1 wustl edu, gnome-devel-list gnome org, recipient list not shown: ;
- Subject: Re: libart: transforming svp's
- Date: Sat, 8 Apr 2000 16:12:32 +0200 (CEST)
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]