Le dimanche 07 octobre 2007 à 12:17 +0200, Loïc Minier a écrit :
> On Sun, Oct 07, 2007, Josselin Mouette wrote:
> > Or maybe what you mean is that it should be freed by gnome_vfs_shutdown.
> > I'll change the patch to that effect.
> 
>  I don't know whether gnome_vfs_shutdown() would be the place to free,
>  but perhaps the g_strdup()s can be saved altogether in
>  gnome_vfs_get_home_dir() and be added by callers when needed.

That would mean looking for the .gnome2 directory upon each call,
because a value returned by getenv can be modified by any further call
to getenv or setenv.

-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to