svn commit: r245494 - head/bin/pwait
Eitan Adler
eadler at freebsd.org
Wed Jan 16 19:15:34 UTC 2013
On 16 January 2013 13:11, Xin Li <delphij at delphij.net> wrote:
> Yes I did. Using exit(3) tells clang that this is the final exit and
> thus eliminates the warning.
>
> It sounds like a bug (or arguably a feature) that clang does not
> recognize return in main()s...
It is not a bug: see
http://clang-developers.42468.n3.nabble.com/Static-analyzer-possible-memory-leak-false-positive-td4026706.html
--
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams
More information about the svn-src-head
mailing list