https://bugs.kde.org/show_bug.cgi?id=474443

--- Comment #12 from Paul Floyd <pjfl...@wanadoo.fr> ---
The count for "ERROR SUMMARY with 6 errors" is maintained in a global variable,
"n_errs_found" which gets modified by two functions, VG_(unique_error) and
VG_(maybe_record_error).

VG_(unique_error) is used for recording leaks. So that looks like the one
related to this.

The conditions for counting leaks as errors are
1. mode is full
2. there are 1 or more leaks
3. the kind of the leak matches one of the --errors-for-leaks kinds

So leaks only get added to the ERROR SUMMARY with --leak-check=full or
--leak-check=yes

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to