tilde_expand



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





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