Re: [gnome-db] [PATCH] Another memory leak



2008/4/2 Andrea Zagli <azagli inwind it>:
> Il giorno lun, 31/03/2008 alle 07.57 +0200, Vivien Malerba ha scritto:
>  > [...]
>
>  should not be instead a simple
>
>  > >  +       g_free (filename);
>
>  at the end?

It is needed anyway for cdata->file so it's better to avoid making a
copy and then free the original. (I'm talking about SVN trunk code).

>
>  if not, sorry for my inexperience ;-)

Don't, nobody knows everyting right from the start...

Regards,

Vivien


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