-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
1
-
Storage - Ra 2022-04-04
CID 121895 (#1 of 1): Resource leak (RESOURCE_LEAK)28. leaked_storage: Variable metadata_conf going out of scope leaks the storage it points to.
This occurs at the end of metadata_load_hot_backup as a result of this statement:
WT_ERR(__wt_metadata_search(session, filename, &metadata_conf));
metadata_conf needs to be freed at the bottom of the function (and initialized at top).