Follow-up fix for MDEV-12352: Plug a memory leak
trx_rollback_active(): When aborting the rollback, free the query graph.
This commit is contained in:
parent
b1977a39de
commit
9d76b27498
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user