• Marko Mäkelä's avatar
    MDEV-11602 InnoDB leaks foreign key metadata on DDL operations · 9f863a15
    Marko Mäkelä authored
    Essentially revert MDEV-6759, which addressed a double free of memory
    by removing the freeing altogether, introducing the memory leaks.
    No double free was observed when running the test suite -DWITH_ASAN.
    
    Replace some mem_heap_free(foreign->heap) with dict_foreign_free(foreign)
    so that the calls can be located and instrumented more easily when needed.
    9f863a15
dict0load.cc 86 KB