Commit 9d76b274 authored by Marko Mäkelä's avatar Marko Mäkelä

Follow-up fix for MDEV-12352: Plug a memory leak

trx_rollback_active(): When aborting the rollback, free the query graph.
parent b1977a39
......@@ -579,6 +579,8 @@ trx_rollback_active(
ut_ad(!srv_undo_sources);
ut_ad(srv_fast_shutdown);
ut_ad(!dictionary_locked);
que_graph_free(static_cast<que_t*>(
roll_node->undo_thr->common.parent));
goto func_exit;
}
......
......@@ -579,6 +579,8 @@ trx_rollback_active(
ut_ad(!srv_undo_sources);
ut_ad(srv_fast_shutdown);
ut_ad(!dictionary_locked);
que_graph_free(static_cast<que_t*>(
roll_node->undo_thr->common.parent));
goto func_exit;
}
......
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