Commit 8777e801 authored by Jan Lindström's avatar Jan Lindström

MDEV-6759: innodb valgrind failures

Fix failure seen on dict_foreign_remove_partial().
parent dbc9123f
...@@ -1481,7 +1481,6 @@ struct dict_foreign_remove_partial ...@@ -1481,7 +1481,6 @@ struct dict_foreign_remove_partial
if (table != NULL) { if (table != NULL) {
table->referenced_set.erase(foreign); table->referenced_set.erase(foreign);
} }
dict_foreign_free(foreign);
} }
}; };
......
...@@ -1481,7 +1481,6 @@ struct dict_foreign_remove_partial ...@@ -1481,7 +1481,6 @@ struct dict_foreign_remove_partial
if (table != NULL) { if (table != NULL) {
table->referenced_set.erase(foreign); table->referenced_set.erase(foreign);
} }
dict_foreign_free(foreign);
} }
}; };
......
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