tilde_expand

Leonard den Ottolander leonard at den.ottolander.nl
Sun Sep 12 22:23:39 UTC 2004


Hi,

Seeking a bit of basic advise. I was wondering if passwd gets freed in
the next example (taken from src/utilunix.c), or whether it should be
freed explicitly.

char *
tilde_expand (const char *directory)
{
    struct passwd *passwd;
...
    return g_strconcat (passwd->pw_dir, PATH_SEP_STR, q, NULL);
}

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





More information about the mc-devel mailing list