diff options
Diffstat (limited to 'common/test-tests.c')
-rw-r--r-- | common/test-tests.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/test-tests.c b/common/test-tests.c index ba31d83..2ca1929 100644 --- a/common/test-tests.c +++ b/common/test-tests.c @@ -62,6 +62,7 @@ test_memory (void) mem = malloc (1); assert (mem != NULL); free (mem); + /* cppcheck-suppress deallocuse */ *mem = 1; } } @@ -77,6 +78,7 @@ test_leak (void) assert (mem != NULL); *mem = 1; } + /* cppcheck-suppress memleak */ } int |