X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase.cc;h=df83e2048673b235e6c1055ccb47d39923f480a7;hb=bfcf9a6c102af9232b6d2e720f919ff1c9b431f8;hp=0effe97844dba59364ef0fc1d5df74feaa4a135f;hpb=fad2e7540bf9309bfb335650ded753e9ed085eff;p=notmuch diff --git a/lib/database.cc b/lib/database.cc index 0effe978..df83e204 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -755,6 +755,8 @@ notmuch_database_destroy (notmuch_database_t *notmuch) notmuch->date_range_processor = NULL; delete notmuch->last_mod_range_processor; notmuch->last_mod_range_processor = NULL; + delete notmuch->stemmer; + notmuch->stemmer = NULL; talloc_free (notmuch);