diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-05-09 13:40:42 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-05-09 13:40:42 +0300 |
commit | 2645bda5f20ab10bc26dc1cb69f91b5505c1faae (patch) | |
tree | df27fc5dbac815f1258a34399c39c2ac82e71a22 /client/mysqlslap.c | |
parent | 56b3bcc8127c90f63bd33847f8a5a02fd78e4682 (diff) | |
download | mariadb-git-2645bda5f20ab10bc26dc1cb69f91b5505c1faae.tar.gz |
MDEV-12253 post-fix: Do not leak memory in crash recovery
This fixes the cmake -DWITH_ASAN test failure that was mentioned
in commit f9cc391863ab962e8c8a8a8a676d730498eb8d6f (merging
MDEV-12253 from 10.1 to 10.2).
fil_parse_write_crypt_data(): If the tablespace is not found,
invoke fil_space_destroy_crypt_data(&crypt_data) to properly
free the created object.
With this, the test encryption.innodb-redo-badkey still reports
"Missing MLOG_FILE_NAME or MLOG_FILE_DELETE before MLOG_CHECKPOINT"
but does not fail. The misleading message should be corrected,
maybe as part of MDEV-12699.
Diffstat (limited to 'client/mysqlslap.c')
0 files changed, 0 insertions, 0 deletions