Commit 9646f946 authored by Jan Lindström's avatar Jan Lindström

MDEV-6759: innodb valgrind failures

Fix failure seen on dict_foreign_remove_partial.
parent 0a16fe4e
...@@ -1483,7 +1483,6 @@ struct dict_foreign_remove_partial ...@@ -1483,7 +1483,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);
} }
}; };
......
...@@ -1483,7 +1483,6 @@ struct dict_foreign_remove_partial ...@@ -1483,7 +1483,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