Commit 83a87da4 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix g++-14 -Wmaybe-uninitialized

parent 2ba42483
......@@ -5420,12 +5420,9 @@ fts_free(
dict_table_t* table) /*!< in/out: table with FTS indexes */
{
fts_t* fts = table->fts;
fts->~fts_t();
mem_heap_free(fts->fts_heap);
table->fts = NULL;
mem_heap_free(fts->fts_heap);
fts->~fts_t();
}
/*********************************************************************//**
......
......@@ -450,15 +450,12 @@ que_graph_free_recursive(
ins = static_cast<ins_node_t*>(node);
que_graph_free_recursive(ins->select);
ins->select = NULL;
ins->~ins_node_t();
if (ins->entry_sys_heap != NULL) {
mem_heap_free(ins->entry_sys_heap);
ins->entry_sys_heap = NULL;
}
ins->~ins_node_t();
break;
case QUE_NODE_PURGE:
purge = static_cast<purge_node_t*>(node);
......
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