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,
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