Svante Signell, le Tue 12 Apr 2011 19:27:10 +0200, a écrit :
>               return -1 ;
>       }
>       /* If we reach here, "filename" is not a symbolic link */

And thus we didn't call realpath at all.  I believe the free below
shouldn't be done, it's probably only by chance that it doesn't segfault
in your test (by being NULL by chance).

> +#ifdef __GNU__
> +     free (realfilepath);
> +#endif
>       return openandconvert( filename );
>  }

Samuel


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to