Bug#557046: cppcheck: false negative resource leak on exit()

2009-11-20 Thread Reijo Tomperi
Hi, Thanks for report! The leak with exit() is disabled by design. But we could use a command line option to enable it. Reported to upstream: http://sourceforge.net/apps/trac/cppcheck/ticket/992 -- Reijo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject o

Bug#557046: cppcheck: false negative resource leak on exit()

2009-11-18 Thread Raphael Geissert
Package: cppcheck Version: 1.38-1 Severity: wishlist Hi, Attached test case demonstrates a possible fd leak whenever exit(3) is called. cppcheck correctly detects the leakage when 'return' is used instead. Would be great if cppcheck could handle exit(3) as well. Cheers, -- Raphael Geissert - D