X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-reindex.c;h=fefa7c63c64deec1ad6beb8c412acf9cdb897fb7;hb=570349e132da5e19b36a004e633b870cec810170;hp=5d702510ae2965d36325222274c46aae6ba3aa67;hpb=81168917447a582aee186fc0edc09f5277ce565d;p=notmuch diff --git a/notmuch-reindex.c b/notmuch-reindex.c index 5d702510..fefa7c63 100644 --- a/notmuch-reindex.c +++ b/notmuch-reindex.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: Daniel Kahn Gillmor */ @@ -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)