diff --git a/src/reindex.c b/src/reindex.c index b2b137b..c3e14a9 100644 --- a/src/reindex.c +++ b/src/reindex.c @@ -128,6 +128,9 @@ rc = store_index_data(sdata, &state, data, stored_id, cfg); + unlink(sdata->tmpframe); + remove_stripped_attachments(&state); + if(rc == OK) reindexed++; else printf("failed to add to %s table: %s\n", SQL_SPHINX_TABLE, filename);