• Marko Mäkelä's avatar
    MDEV-12253 post-fix: Do not leak memory in crash recovery · d7cfe2c4
    Marko Mäkelä authored
    This is a backport from 10.2 where it fixes the
    cmake -DWITH_ASAN test failure that was mentioned
    in commit f9cc3918
    (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.
    d7cfe2c4
fil0crypt.cc 71.6 KB