Don't panic on encountering a LeakSupp.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1391
This commit is contained in:
Julian Seward
2002-12-26 11:50:21 +00:00
parent 79a981783a
commit 8da1474525

View File

@@ -410,6 +410,9 @@ Bool SK_(error_matches_suppression)(Error* err, Supp* su)
case FreeSupp:
return (ekind == FreeErr || ekind == FreeMismatchErr);
case LeakSupp:
return False; /* Doesn't match any normal error */
default:
VG_(printf)("Error:\n"
" unknown suppression type %d\n",