libattr - severe memory leaks from attr_copy_file()

Arkadiusz Miskiewicz arekm at maven.pl
Tue Feb 17 06:04:18 CST 2009


On Tuesday 17 of February 2009, Zdenek Prikryl wrote:
> -       free(text);
> +       if (text)
> +               free(text);

free(NULL) is fine (on Linux at least)

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/


More information about the xfs mailing list