Skip to content
Permalink
Browse files
Follow-up fix for MDEV-12352: Plug a memory leak
trx_rollback_active(): When aborting the rollback, free the query graph.
  • Loading branch information
dr-m committed Dec 13, 2017
1 parent b1977a3 commit 9d76b27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
@@ -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;
}

0 comments on commit 9d76b27

Please sign in to comment.