Skip to content

Commit

Permalink
Fix heap-use-after-free in fts_free()
Browse files Browse the repository at this point in the history
This fixes up 83a87da
  • Loading branch information
dr-m committed Mar 21, 2024
1 parent 5d85749 commit 2250b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/fts/fts0fts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*********************************************************************//**
Expand Down

0 comments on commit 2250b42

Please sign in to comment.