diff options
| author | David Bremner <david@tethera.net> | 2022-01-09 10:38:05 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-01-22 21:14:29 -0400 |
| commit | 2786aa4d548d28579c761e9358d44c84dfb29068 (patch) | |
| tree | 955e2e8b65e52e3a93f0d6fa410a77203c276f21 /test | |
| parent | df7c5acd759f22fcb537490f62b85d39aa71d677 (diff) | |
lib/database: delete stemmer on destroy
Commit [0] left the stemmer object accessible, but did not add
de-allocation code to notmuch_database_destroy. This commit corrects
that oversight.
Leak originally reported by Austin Ray [1].
[0]: 3202e0d1feba1ab955ba1c07098c00208f8f0ada
[1]: id:20220105224538.m36lnjn7rf3ieonc@athena
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T800-asan.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/T800-asan.sh b/test/T800-asan.sh index 8c294578..8607732e 100755 --- a/test/T800-asan.sh +++ b/test/T800-asan.sh @@ -12,7 +12,6 @@ add_email_corpus TEST_CFLAGS="-fsanitize=address" test_begin_subtest "open and destroy" -test_subtest_known_broken test_C ${MAIL_DIR} ${NOTMUCH_CONFIG} <<EOF #include <notmuch.h> #include <stdio.h> |
