diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-08-14 18:06:51 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-08-14 18:06:51 +0300 |
commit | 1d15a28e52e41fae0847284089b2073ab33162a5 (patch) | |
tree | 3d2dbd3ebda6547c26642e597b5cafc56e7ed031 /storage/rocksdb/ha_rocksdb.cc | |
parent | c4feef50cfa4033e646636ed37e255d2b3593fbf (diff) | |
parent | a20f6f9853e522ad388f5b968ce11af3c5d1fc10 (diff) | |
download | mariadb-git-1d15a28e52e41fae0847284089b2073ab33162a5.tar.gz |
Merge 10.3 into 10.4
Diffstat (limited to 'storage/rocksdb/ha_rocksdb.cc')
-rw-r--r-- | storage/rocksdb/ha_rocksdb.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc index 7eb53dd878c..8ef8c349e9f 100644 --- a/storage/rocksdb/ha_rocksdb.cc +++ b/storage/rocksdb/ha_rocksdb.cc @@ -14320,6 +14320,8 @@ static int rocksdb_validate_update_cf_options( // then there's no point to proceed. if (!Rdb_cf_options::parse_cf_options(str, &option_map)) { my_error(ER_WRONG_VALUE_FOR_VAR, MYF(0), "rocksdb_update_cf_options", str); + // Free what we've copied with my_strdup above. + my_free((void*)(*(const char **)save)); return HA_EXIT_FAILURE; } // Loop through option_map and create missing column families |