Commit ff956907 authored by Marko Mäkelä's avatar Marko Mäkelä

Bug #56947 InnoDB leaks memory when failing to create a table

No mysql-test case. Tested by creating a table, removing a *.frm file and
attempting to create the table again. Code coverage tested by
instrumentation. Tested with Valgrind.
parent 085df749
......@@ -1981,6 +1981,7 @@ row_create_table_for_mysql(
table already exists */
trx->error_state = DB_SUCCESS;
dict_mem_table_free(table);
}
que_graph_free((que_t*) que_node_get_parent(thr));
......
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