diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-21 10:37:52 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-21 10:37:52 +0300 |
commit | 688fb6301c190a16987c91f5e14bdcc85d9b0ffa (patch) | |
tree | 5e3362d4d2dfbeae8a4495d262ac881bf2ad7751 /mysql-test/suite/rpl/t/rpl_trigger.test | |
parent | 2643249da51dadfe2d9b5cd1db194a89eace0e92 (diff) | |
download | mariadb-git-688fb6301c190a16987c91f5e14bdcc85d9b0ffa.tar.gz |
MDEV-23526 InnoDB leaks memory for some static objects
A leak of the contents of fil_system.ssd that was introduced in
commit 10dd290b4b8b8b235c8cf42e100f0a4415629e79 (MDEV-17380)
was caught by implementing SAFEMALLOC instrumentation of operator new.
I did not try to find out how to make AddressSanitizer or Valgrind
detect it.
fil_system_t::close(): Clear fil_system.ssd.
The leak was identified and a fix suggested by Michael Widenius
and Vicențiu Ciorbaru.
Diffstat (limited to 'mysql-test/suite/rpl/t/rpl_trigger.test')
0 files changed, 0 insertions, 0 deletions