]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database.cc
lib/database: delete stemmer on destroy
[notmuch] / lib / database.cc
index 0effe97844dba59364ef0fc1d5df74feaa4a135f..df83e2048673b235e6c1055ccb47d39923f480a7 100644 (file)
@@ -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);