Commit 2250b42f authored by Marko Mäkelä's avatar Marko Mäkelä

Fix heap-use-after-free in fts_free()

This fixes up 83a87da4
parent 5d857499
......@@ -5421,8 +5421,8 @@ fts_free(
{
fts_t* fts = table->fts;
table->fts = NULL;
mem_heap_free(fts->fts_heap);
fts->~fts_t();
mem_heap_free(fts->fts_heap);
}
/*********************************************************************//**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment