X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-reindex.c;h=fefa7c63c64deec1ad6beb8c412acf9cdb897fb7;hb=afb0b11dcd08aa9091be1d89e1c2a9fe6b0e11f0;hp=d8589120cae94ed4fa4efa1c3cfdda9520d5697d;hpb=c3a683299d4c27d6eadaacf4fb516f73a6c69fc3;p=notmuch diff --git a/notmuch-reindex.c b/notmuch-reindex.c index d8589120..fefa7c63 100644 --- a/notmuch-reindex.c +++ b/notmuch-reindex.c @@ -71,6 +71,7 @@ reindex_query (notmuch_database_t *notmuch, const char *query_string, ret = notmuch_message_reindex(message, indexopts); if (ret != NOTMUCH_STATUS_SUCCESS) break; + notmuch_message_destroy (message); } if (!ret)