Bug#445549: 24_home_dir_fakeroot seems to leak memory

Josselin Mouette joss at debian.org
Sat Oct 6 21:23:25 UTC 2007


Le samedi 06 octobre 2007 à 20:58 +0200, Loïc Minier a écrit :
> Package: gnome-vfs2
> Version: 1:2.20.0-2
> Severity: normal
> 
>         Hi,
> 
>  While reading 24_home_dir_fakeroot, it came to my attention that it
>  seems to leak memory: g_get_home_dir() returns a const gchar that one
>  doesn't have to g_free(), but gnome_vfs_get_home_dir() g_strdup()s it
>  or g_strdup()s g_getenv ("HOME").

It shouldn't, as it is a static variable, so it should retain its same
value between calls.

Cheers,
-- 
 .''`.
: :' :      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/20071006/434c1367/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list