Bug#445549: 24_home_dir_fakeroot seems to leak memory
Josselin Mouette
joss at debian.org
Sun Oct 7 10:26:16 UTC 2007
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20071007/ac392003/attachment.pgp
More information about the pkg-gnome-maintainers
mailing list